/**
 * RepairPolicyEngine — failure-aware repair strategy selection.
 *
 * Examines diagnosis results, failure history, and node context
 * to decide the optimal repair action: retry, fallback, skip, or abort.
 */
import type { AttemptRecord, DiagnosisResult, RepairDecision } from "../evidence/attempt-record.js";
import type { EvidenceFailureKind } from "./evidence-gate.js";
import type { DagNode } from "./dag.js";
export interface RepairContext {
    readonly node: DagNode;
    readonly attempt: AttemptRecord;
    readonly diagnosis: DiagnosisResult;
    readonly failureKind?: EvidenceFailureKind;
    readonly availableProviders: readonly string[];
    readonly previousProviders: readonly string[];
    readonly totalAttempts: number;
    readonly runId?: string;
}
export declare function decideRepair(ctx: RepairContext): RepairDecision;
