import type { NotifyPayload, NotifySnapshot, ProgressMode, Redacted, } from "../shared/ipc"; declare global { interface Window { api: { notify: { get: () => Promise; preview: (title: string, body: string) => Promise; send: (payload: NotifyPayload) => Promise; simulateClick: () => Promise; setBadge: (text: string) => Promise; setProgress: ( value: number, mode: ProgressMode, ) => Promise; bounce: () => Promise; clear: () => Promise; onChange: (callback: (state: NotifySnapshot) => void) => () => void; }; }; __prepareShots?: (stage: "compose" | "sent" | "dock") => Promise; __smoke?: () => Promise; } } export {};