/** * Update Checker * * Checks for new versions of k0ntext and notifies users */ /** * Version comparison result */ export interface VersionCheckResult { current: string; latest: string; hasUpdate: boolean; type: 'major' | 'minor' | 'patch' | 'none'; } /** * Update notification options */ export interface UpdateNotificationOptions { showIfCurrent: boolean; checkInterval: number; } /** * Update Checker */ export declare class UpdateChecker { private currentVersion; private lastCheck; private cachedResult; private checkInterval; constructor(currentVersion: string, checkInterval?: number); /** * Check for updates (with caching) */ check(force?: boolean): Promise; /** * Fetch latest version from npm registry */ private fetchLatestVersion; /** * Check if current version needs update */ private needsUpdate; /** * Get update type */ private getUpdateType; /** * Get type emoji */ private getTypeEmoji; /** * Format update notification */ formatNotification(result: VersionCheckResult): string; /** * Show notification if update available */ showNotification(options?: UpdateNotificationOptions): Promise; /** * Check and prompt for update */ checkAndPrompt(): Promise; } //# sourceMappingURL=checker.d.ts.map