/// <reference types="vite/client" />

interface ElectronAPI {
    scanDirectory: (path: string) => Promise<any[]>;
    disableUpdates: () => Promise<boolean>;
    cleanSystem: () => Promise<boolean>;
    purgePath: (path: string) => Promise<boolean>;
    cleanupDocker: () => Promise<boolean>;
    cleanupTmp: () => Promise<boolean>;
    cleanupXcode: () => Promise<boolean>;
    cleanupTurnkey: () => Promise<boolean>;
    deepDiveScan: () => Promise<any[]>;
    getDiskUsage: () => Promise<DiskUsage | null>;
    deepestScan: (path?: string) => Promise<ScanResult[]>;
    updateTrayTitle: (title: string) => Promise<void>;
    getAppIcon: (path: string) => Promise<string>;
    updateTrayIcon: (dataUrl: string) => Promise<void>;
}

interface Window {
    electronAPI: ElectronAPI;
}
