/// interface AuditorBridge { drives: () => Promise listDir: (dirPath: string, opts?: { maxEntries?: number }) => Promise folderSize: (dirPath: string) => Promise largeFiles: (rootPath: string, minBytes: number, maxResults: number) => Promise processes: () => Promise services: () => Promise installed: () => Promise system: () => Promise network: () => Promise env: (keys?: string[]) => Promise startup: () => Promise temp: () => Promise tasks: () => Promise features: () => Promise openExplorer: (p: string) => Promise killProcess: (pid: number) => Promise openExternal: (url: string) => Promise clipboardWriteText: (text: string) => Promise notesGetAll: () => Promise> notesSet: (key: string, value: string) => Promise> notesDelete: (key: string) => Promise> } declare global { interface Window { auditor: AuditorBridge } } export {}