import type { LinksSnapshot } from "../shared/ipc"; declare global { interface Window { api: { links: { get: () => Promise; simulateUrl: (url: string) => Promise; simulateFile: (path: string) => Promise; simulateSecond: (url: string) => Promise; clear: () => Promise; onChange: (callback: (state: LinksSnapshot) => void) => () => void; }; }; __prepareShots?: (stage: "link" | "reject" | "file") => Promise; __smoke?: () => Promise; } } export {};