export interface VersionInfo { latest: string; current: string; updateAvailable: boolean; critical: boolean; advisory?: { id: string; summary: string; severity: string; url: string; }; } export interface CachedCheck { timestamp: number; latest: string; critical: boolean; advisory?: { id: string; summary: string; severity: string; url: string; }; } export interface ReleaseInfo { tag: string; critical: boolean; body: string; url: string; } export declare function getCurrentVersion(): string; export declare function compareVersions(a: string, b: string): number; export declare function parseRelease(data: unknown): ReleaseInfo; export declare function extractAdvisory(body: string, url: string): { id: string; summary: string; severity: string; url: string; } | undefined; export declare function getCachedResult(projectPath: string): CachedCheck | null; export declare function writeCache(projectPath: string, data: CachedCheck): void; export declare function fetchReleases(perPage?: number): Promise; export type ReleaseChannel = 'latest' | 'experimental' | 'canary'; export declare function filterByChannel(releases: ReleaseInfo[], channel: ReleaseChannel): ReleaseInfo[]; export declare function fetchLatestRelease(): Promise; export declare function checkForUpdate(projectPath?: string, fetcher?: () => Promise): Promise; export declare function formatUpdateMessage(info: VersionInfo): string; export declare function logUpdateCheck(projectPath: string, info: VersionInfo): Promise; //# sourceMappingURL=update-checker.d.ts.map