import { type UpdateInfo } from './update-notice.js'; export { detectInstallCommand, performUpdate, formatUpdateNotice, type UpdateInfo } from './update-notice.js'; export declare function writeUpdateCache(latestVersion: string): void; /** * Returns true if `latest` is strictly newer than `current`. * * We never propose pre-release versions (`x.y.z-rc.1`, `x.y.z-beta`) as updates * — users running stable should not be auto-bumped to a pre-release. */ export declare function isNewer(current: string, latest: string): boolean; export declare function fetchLatestVersionSync(): Promise; export declare function checkForUpdate(currentVersion: string): UpdateInfo | null;