/**
 * Version check and auto-update utility
 * Checks npm registry for latest version and prompts/updates if needed
 */
interface VersionInfo {
    current: string;
    latest: string;
    needsUpdate: boolean;
}
/**
 * Check if update is needed
 */
export declare function checkForUpdates(packageName?: string): Promise<VersionInfo>;
/**
 * Prompt user to update (non-blocking, just shows message)
 */
export declare function promptUpdate(current: string, latest: string, packageName?: string): void;
/**
 * Same as the Windows update fallback: open a cmd window that runs `npm install -g` then `4r`.
 * Used when boot detects a broken global tree — npm cannot repair in-place while this process runs.
 */
export declare function spawnWindowsVisibleGlobalInstall(packageName?: string): void;
/**
 * Auto-update (if user has permissions)
 * This function exits the process after updating, so it never returns normally
 */
export declare function autoUpdate(packageName?: string): Promise<void>;
/**
 * Check and optionally update
 * If autoUpdateEnabled is true, will update and exit the process
 * User should run the command again to use the new version
 */
export declare function checkAndUpdate(packageName?: string, autoUpdateEnabled?: boolean): Promise<void>;
export {};
//# sourceMappingURL=version-check.d.ts.map