export interface UpdateCheckOptions { configDir: string; currentVersion: string; now?: number; timeoutMs?: number; cacheMaxAgeMs?: number; noUpdateCacheMaxAgeMs?: number; forceRefresh?: boolean; fetchImpl?: typeof fetch; } export interface UpdateNotice { currentVersion: string; latestVersion: string; command: string; } export declare function shouldSkipCliUpdateCheck(env?: NodeJS.ProcessEnv): boolean; export declare function formatUpdateNotice(notice: UpdateNotice): string; export declare function checkForCliUpdate(options: UpdateCheckOptions): Promise; export declare function startCliUpdateCheck(options: UpdateCheckOptions & { onNotice?: (message: string) => void; }): void; //# sourceMappingURL=update-check.d.ts.map