/** * Doctor Command * * Comprehensive health check for SpecWeave projects. * Runs diagnostic checks without modifying anything. */ import { Command } from 'commander'; import type { DoctorOptions, DoctorReport } from '../../core/doctor/types.js'; import { DesyncDetector } from '../../core/increment/desync-detector.js'; /** * Execute doctor command * * @param projectRoot - Project root directory (defaults to cwd) * @param options - Command options * @returns Doctor report */ export declare function doctor(projectRoot?: string, options?: DoctorOptions): Promise; export interface FixStatusResult { scanned: number; desyncs: string[]; fixed: string[]; } /** * `doctor --fix-status`: metadata.json is the source of truth; spec.md * frontmatter is rewritten to match for every increment where they differ. */ export declare function fixStatusDesyncs(projectRoot: string, options?: Pick, detector?: DesyncDetector): Promise; /** * Register doctor command * * @param program - Commander program */ export declare function registerDoctorCommand(program: Command): void; //# sourceMappingURL=doctor.d.ts.map