import type { EvaluationReport } from '../types/report.js';
export interface FixContext {
    sampleId: string;
    originalSample: Record<string, unknown>;
    diagnosticSummary: string;
    expected: string;
    actual: string;
    suggestionSample: string;
    rootCause: string[];
    failedAssertions: Array<{
        type: string;
        value: string;
        passed: boolean;
    }>;
    toolCalls: Array<{
        tool: string;
        input: unknown;
        success: boolean;
    }>;
}
export interface FixSamplesOptions {
    skillContent: string;
    samples: Record<string, unknown>[];
    report: EvaluationReport;
    treatmentKey: string;
    executor: (opts: {
        model: string;
        system: string;
        prompt: string;
        timeoutMs: number;
        lean?: boolean;
    }) => Promise<{
        ok: boolean;
        text: string;
        costUSD: number;
    }>;
    model?: string;
    maxAttemptsPerSample?: number;
}
export interface FixSamplesResult {
    samples: Record<string, unknown>[];
    fixedCount: number;
    costUSD: number;
    fixes: Array<{
        sampleId: string;
        changed: boolean;
        error?: string;
    }>;
}
export declare function fixSamples(options: FixSamplesOptions): Promise<FixSamplesResult>;
//# sourceMappingURL=sample-fixer.d.ts.map