export declare const DOCTOR_SCHEMA_VERSION: 1; export type DoctorSchemaVersion = typeof DOCTOR_SCHEMA_VERSION; export type DoctorStatus = "green" | "yellow" | "red"; export type DoctorSeverity = "info" | "warning" | "error"; export declare const DOCTOR_SECTION_NAMES: readonly ["Isolation", "Distill", "Legacy paths", "Vectors", "Telemetry", "Injection", "Memory quality", "Knowledge quality", "Contract", "Deadcode", "Benchmark", "Retrieval quality", "Data face", "Runtime security", "UI reachability", "Hook path health"]; export type DoctorSectionName = (typeof DOCTOR_SECTION_NAMES)[number]; export interface DoctorMetric { key: string; value: unknown; target?: unknown; ok: boolean; severity?: DoctorSeverity; } export interface DoctorSection { name: DoctorSectionName; status: DoctorStatus; metrics: DoctorMetric[]; } export interface DoctorCompatibilitySummary { project?: { rootPath?: string; name?: string; files?: number; techStack?: string[]; }; projectName?: string; indexedFiles?: number; engines?: Record; plugins?: string[]; } export interface DoctorReportV1 extends DoctorCompatibilitySummary { schemaVersion: DoctorSchemaVersion; sections: DoctorSection[]; exitCode: number; } export interface DoctorReportAdapter { schemaVersion: DoctorSchemaVersion; sections: readonly DoctorSection[]; metrics: Readonly>; redDiagnostics: readonly DoctorMetric[]; redSections: readonly DoctorSectionName[]; source: "current" | "legacy" | "unavailable"; } export interface DoctorMetricLookup { readonly report: DoctorReportAdapter; get(key: string): DoctorMetric | undefined; } export declare function adaptDoctorReport(input: unknown): DoctorReportAdapter; export declare function createDoctorMetricLookup(input: unknown): DoctorMetricLookup; export declare function getDoctorMetric(input: DoctorMetricLookup | DoctorReportAdapter | unknown, key: string): DoctorMetric | undefined; export declare const parseDoctorReport: typeof adaptDoctorReport; //# sourceMappingURL=doctor.d.ts.map