export interface UpdateCheckResult {
    currentVersion: string;
    latestVersion?: string;
    updateAvailable: boolean;
    error?: string;
}
export declare function getCurrentVersion(): string;
export declare function compareVersions(a: string, b: string): number;
export declare function checkForUpdate(timeoutMs?: number): Promise<UpdateCheckResult>;
export declare function startGlobalUpdateInstall(): boolean;
export declare function startStartupUpdateCheck(options?: {
    onUpdateStarted?: (currentVersion: string, latestVersion: string) => void;
    onUpdateUnavailable?: (currentVersion: string) => void;
    onError?: (error: string) => void;
    env?: NodeJS.ProcessEnv;
}): void;
