import { type IdentifierMap } from './identifier-map.js'; export interface DoctorCheck { fix?: string; message: string; name: string; passed: boolean; } export interface DoctorReport { checks: DoctorCheck[]; passed: boolean; } export interface DoctorSession { expiresAt: number; } export interface DoctorContext { apiKey?: string; dir: string; from: string; getWorkspaceGitRepo?: () => Promise; isWorkingTreeClean?: (dir: string) => Promise; language?: string; loadSession?: () => Promise; readExistingMap?: (dir: string) => IdentifierMap | null; validateSourceAuth?: (from: string, apiKey: string) => Promise; } export declare const runDoctor: (ctx: DoctorContext) => Promise; export declare const formatHumanReport: (report: DoctorReport) => string;