export interface ElectronAPI { setCookie: (cookieString: string) => Promise; checkUrl: (url: string) => Promise<{ ok: boolean; status: number; error?: string }>; } declare global { interface Window { electronAPI: ElectronAPI; } }