/** * Auto-update system for @monomind packages * * Features: * - Rate-limited update checks (24h default) * - Automatic patch updates for security packages * - Compatibility validation before updates * - Rollback capability * - Update history logging */ export type { UpdateCheckResult, UpdateConfig } from './checker.js'; export { checkForUpdates, checkSinglePackage, DEFAULT_CONFIG, getInstalledVersion, } from './checker.js'; export type { UpdateExecutionResult, UpdateHistoryEntry } from './executor.js'; export { clearHistory, executeMultipleUpdates, executeUpdate, getUpdateHistory, loadHistory, rollbackUpdate, } from './executor.js'; export type { RateLimitState } from './rate-limiter.js'; export { clearCache, getCachedVersions, loadState, recordCheck, shouldCheckForUpdates, } from './rate-limiter.js'; export type { ValidationResult } from './validator.js'; export { validateBulkUpdate, validateUpdate } from './validator.js'; import type { UpdateCheckResult } from './checker.js'; /** * Synchronous — reads cached state from last check. * Returns a short inline string for the CLI version tagline, e.g. * " ↑ v1.11.12 available" * " ✓ up to date" * "" (no cache yet) */ export declare function getUpdateTagline(currentVersion: string): string; /** * Run auto-update check on startup * This is the main entry point for the auto-update system */ export declare function runStartupUpdateCheck(_options: { verbose?: boolean; autoUpdate?: boolean; onInstalling?: (packages: string[]) => void; }): Promise<{ checked: boolean; updatesAvailable: UpdateCheckResult[]; updatesApplied: string[]; skippedReason?: string; }>; //# sourceMappingURL=index.d.ts.map