/** * Startup Health Check * * Runs on app launch to detect and recover from previous crashes. * Checks for stale lock files, incomplete operation journals, * orphaned temp files, and corrupted config files. * * @since v2.7.34 */ /** * Health check result */ export interface StartupHealthResult { healthy: boolean; issues: StartupIssue[]; resolved: string[]; } /** * Individual health issue */ export interface StartupIssue { type: 'stale-lock' | 'incomplete-journal' | 'orphaned-temp' | 'corrupt-config'; severity: 'warning' | 'error'; message: string; autoResolved: boolean; } /** * Run the startup health check. * Automatically resolves what it can; returns remaining issues for the UI to handle. */ export declare function runStartupHealthCheck(): Promise; /** * Dismiss all incomplete journals (user chose to ignore them) */ export declare function dismissIncompleteJournals(): Promise; //# sourceMappingURL=startup-health.d.ts.map