declare const CHECK_INTERVAL_MS: number; declare const FETCH_TIMEOUT_MS = 2000; export { CHECK_INTERVAL_MS, FETCH_TIMEOUT_MS }; export declare function canAttemptSilentUpgrade(): Promise; export declare function recordSilentUpgradeAttempt(): Promise; export type UpdateMode = "silent" | "notify" | "off"; export interface UpdateCheckResult { hasUpdate: boolean; currentVersion: string; latestVersion: string | null; fetchError: "network" | "not_found" | "server_error" | null; } export declare function checkForUpdates(currentVersion: string, forceRefresh?: boolean, mode?: UpdateMode): Promise; export interface NotifyUpdateOptions { migrateCommand?: string; } export declare function notifyUpdate(result: UpdateCheckResult, options?: NotifyUpdateOptions): void; export declare function startUpdateCheck(currentVersion: string, mode?: UpdateMode): Promise; export declare function cancelUpdateCheck(): void;