//#region src/shared/auto-updater.types.d.ts interface AutoUpdaterFeedURLOptions { url: string; headers?: Record; serverType?: "json" | "default"; } interface UpdateInfo { releaseNotes: string; releaseName: string; releaseDate: string; updateURL: string; } interface UpdateError { message: string; stack?: string; } declare namespace index_d_exports { export { AutoUpdaterEventCallbacks, checkForUpdates, getFeedURL, off, on, once, quitAndInstall, setFeedURL }; } declare function checkForUpdates(): Promise; declare function quitAndInstall(): Promise; declare function setFeedURL(options: AutoUpdaterFeedURLOptions): Promise; declare function getFeedURL(): Promise; interface AutoUpdaterEventCallbacks { "checking-for-update": () => void; "update-available": () => void; "update-not-available": () => void; "update-downloaded": (info: UpdateInfo) => void; error: (error: UpdateError) => void; "before-quit-for-update": () => void; } declare function on(event: K, callback: AutoUpdaterEventCallbacks[K]): () => void; declare function once(event: K, callback: AutoUpdaterEventCallbacks[K]): void; declare function off(event: K, callback?: AutoUpdaterEventCallbacks[K]): void; //#endregion export { off as a, quitAndInstall as c, index_d_exports as i, setFeedURL as l, checkForUpdates as n, on as o, getFeedURL as r, once as s, AutoUpdaterEventCallbacks as t }; //# sourceMappingURL=index-BZHlJiio.d.mts.map