import type { NodeFileSystem } from './filesystem.js'; import { type OwnedFile } from './ownership-ledger.js'; export interface DoctorIssue { readonly code: string; readonly path: string; readonly message: string; } export interface DoctorReport { readonly healthy: boolean; readonly issues: readonly DoctorIssue[]; readonly readiness: { readonly runtimes: readonly { readonly runtime: string; readonly active: false; readonly installed: boolean; readonly execution: 'not-probed'; }[]; readonly connectors: { readonly configured: boolean; readonly ready: false; readonly configurationValid: boolean; readonly status: 'not-probed' | 'not-configured'; }; readonly durableState: 'absent' | 'present' | 'incomplete'; }; } export declare function classifyOwnedFile(location: string, file: OwnedFile, filesystem: NodeFileSystem): Promise<'clean' | 'missing' | 'modified' | 'unsafe'>; export declare function inspectInstaller(location: string, filesystem: NodeFileSystem): Promise; export declare function doctor(location: string, filesystem: NodeFileSystem): Promise;