export type Severity = "error" | "warn" | "info"; export interface DoctorContext { tool: string; configPath: string; config: unknown; manifest: { tool: string; verbs: string[]; }; schema: unknown; auditLogPath: string; auditRotationMaxBytes: number; coreVersion?: string; /** Installed i18n locales for this adapter (from listLocales). Absent ⇒ skip cross-check. */ availableLocales?: string[]; } export interface DoctorResult { ok: boolean; message: string; fixHint?: string; } export interface DoctorCheck { id: string; label: string; severity: Severity; run(ctx: DoctorContext): Promise; } export interface RunReport { tool: string; configPath: string; results: Array<{ check: DoctorCheck; result: DoctorResult; }>; } export declare function detectCanary(version: string | undefined): { isCanary: boolean; pr: string | null; }; export declare const CORE_CHECKS: DoctorCheck[]; export declare function runChecks(ctx: DoctorContext, extra?: DoctorCheck[]): Promise; //# sourceMappingURL=doctor.d.ts.map