/** Categories of fixes that the repair engine can apply. */
export type RepairFixType = 'frontmatter-malformed' | 'frontmatter-missing-field' | 'ac-vague' | 'section-missing' | 'cross-reference-broken' | 'tags-missing' | 'ac-format';
/** A single fix applied (or proposed) by the repair engine. */
export interface RepairFix {
    /** Fix category. */
    type: RepairFixType;
    /** Human-readable description of what was fixed. */
    description: string;
    /** Original text before fix (empty string if inserted). */
    before: string;
    /** Replacement text after fix. */
    after: string;
    /** 1-based line number where the issue was detected (0 if N/A). */
    line: number;
}
/** Result returned by repairSpec(). */
export interface RepairResult {
    /** List of all fixes detected (applied or proposed). */
    fixes: RepairFix[];
    /** Spec content with all fixes applied. Same as input when dryRun=true or no fixes needed. */
    repairedContent: string;
    /** Total number of fixes applied. */
    fixCount: number;
    /** Whether the repair was a dry run (no writes performed). */
    dryRun: boolean;
}
/** Input args for the repair_spec tool. */
export interface RepairSpecArgs {
    projectId: string;
    specId: string;
    dryRun?: boolean;
}
//# sourceMappingURL=repair.d.ts.map