export type ConfigRepairIssueKind = "schema_type" | "evidence_missing" | "evidence_stale" | "evidence_mismatch";
export interface ConfigRepairIssue {
    kind: ConfigRepairIssueKind;
    field_path: string;
    message_zh: string;
    before?: unknown;
    after?: unknown;
}
export interface ConfigRepairAnalysis {
    project_path: string;
    config_path: string;
    evidence_path: string;
    config_exists: boolean;
    parse_error: string | null;
    issues: ConfigRepairIssue[];
    normalized_config: Record<string, unknown> | null;
    needs_repair: boolean;
    auto_resolvable: boolean;
}
export interface ConfigRepairResult extends ConfigRepairAnalysis {
    dry_run: boolean;
    changed: boolean;
    backup_paths: string[];
}
export { hashValue as _hashValue } from "./config_precedence_contract/evidence.js";
export declare function analyzeConfigRepair(projectPath: string): ConfigRepairAnalysis;
export declare function repairProjectConfig(projectPath: string, options?: {
    dry_run?: boolean;
}): ConfigRepairResult;
//# sourceMappingURL=config_auto_repair.d.ts.map