export type Severity = 'required' | 'optional';
export interface CheckResult {
    ok: boolean;
    /** Short detail appended to the task title. */
    detail?: string;
}
export interface Check {
    title: string;
    severity: Severity;
    /** Return `true` (or a reason string) to skip this check. */
    skip?: () => boolean | string;
    run: () => Promise<CheckResult> | CheckResult;
}
export interface DoctorSummary {
    total: number;
    passed: number;
    failed: number;
    warnings: number;
    skipped: number;
    /** Exit code: 0 if no required failures, 1 otherwise. */
    exitCode: number;
}
//# sourceMappingURL=types.d.ts.map