import type { Config } from '../config/schema'; import type { RunContext } from '../core/context'; export type DoctorCheck = { name: string; ok: boolean; detail: string; severity: 'blocker' | 'warn' | 'info'; }; export type DoctorReport = { ok: boolean; blockers: number; warnings: number; checks: DoctorCheck[]; context: { repoRoot: string; branch: string; isWorktree: boolean; }; state: { mode: Config['state']['mode']; root: string; paths: Record; }; config: { source: string; providers: string[]; reviewGate: { enabled: boolean; runWhen: string; blockPrOnFail: boolean; }; models: Record; }; }; type DoctorOptions = { network?: boolean; }; export declare function collectDoctorReport(ctx: RunContext, options?: DoctorOptions): Promise; export {};