/** * Update Service * Checks for application updates via GitHub releases */ interface ReleaseAsset { name: string; size: number; downloadUrl: string; } interface LatestRelease { version: string; name: string; body: string; url: string; publishedAt: string; assets: ReleaseAsset[]; } interface UpdateInfo { currentVersion: string; updateAvailable: boolean; latestRelease: LatestRelease | null; lastCheck: number | null; } interface ChangelogEntry { version: string; name: string; body: string; publishedAt: string; url: string; } declare class UpdateService { private currentVersion; private githubRepo; private checkInterval; private lastCheck; private updateAvailable; private latestRelease; constructor(); /** * Check for updates from GitHub releases */ checkForUpdates(force?: boolean): Promise; /** * Compare version strings (semantic versioning) */ private isNewerVersion; /** * Get current update information */ getUpdateInfo(): UpdateInfo; /** * Get changelog between versions */ getChangelog(fromVersion?: string): Promise; /** * Get download URL for current platform */ getDownloadUrl(): string | null; /** * Schedule automatic update checks */ startAutoCheck(): void; /** * Stop automatic update checks */ stopAutoCheck(): void; /** * Get system information for update compatibility */ getSystemInfo(): Record; /** * Check if update is compatible with current system */ isUpdateCompatible(): boolean; } export declare function getUpdateService(): UpdateService; export default UpdateService; //# sourceMappingURL=updateService.d.ts.map