declare global { interface Window { electron: { platform: "win32"|"linux"|"darwin", ipcRenderer: { sendMessage(channel: string, args: any): void; on(channel: string, func: (...args: any) => void): (() => void) | undefined; once(channel: string, func: (...args: any) => void): void; removeAllListeners(channel: string): void; }; path: { sep: "/"|"\\"; basename: (path: string) => string; join: (...args: string[]) => string; }; }; } } export {};