import { type InstallMethod, type SecretRequester, type UpdateProgress } from "./update-install.js"; export declare const UPDATE_CHECK_INTERVAL_MS: number; export declare function getCurrentVersion(): string; export declare function fetchLatestVersion(): Promise; export declare function updateCheckDisabledReason(): string | undefined; export declare function checkForUpdateSilent(): void; export declare function detectInstallMethodOrDev(): Promise; export declare function installUpdate(version: string, log?: (line: string) => void, stdio?: "inherit" | "pipe", onProgress?: (progress: UpdateProgress) => void, signal?: AbortSignal, requestSecret?: SecretRequester): Promise<{ ok: boolean; message: string; method: string; needsRestart: boolean; }>; export declare function runUpdate(): Promise;