export type UpdatePolicy = 'off' | 'warn' | 'error' | 'force'; export declare function getCurrentVersion(): string | null; export declare function semverGt(a: string, b: string): boolean; /** Resolve the effective policy: 'auto' → warn when interactive, error when programmatic. */ export declare function resolvePolicy(): UpdatePolicy; /** Run the self-update (visible npm output). Returns true on success. */ export declare function runUpdate(): boolean; /** * Startup update check. Best-effort, gated by policy. Only runs for real global installs * (skips source/dev runs). Never throws. */ export declare function checkForUpdate(): Promise; //# sourceMappingURL=updateCheck.d.ts.map