import type { FailureAnalysis } from "../types/index.js";
export interface FailureExplanation {
    resultId: string;
    type: FailureAnalysis["type"];
    summary: string;
    likelyCause: string;
    suggestedFix: string;
    affectedElement?: string;
    confidence: number;
    raw: {
        error: string | null;
        reasoning: string | null;
        failureAnalysis: FailureAnalysis | null;
    };
}
export declare function explainFailure(resultId: string): FailureExplanation;
//# sourceMappingURL=failure-explainer.d.ts.map