/**
 * Deterministic Failure Classifier
 *
 * Maps WorkflowRunEvidence and EvidenceSummary to actionable failure
 * categories. No LLM interpretation — purely rule-based.
 */
import type { EvidenceOutcome, EvidenceSummary, WorkflowRunEvidence } from '../evidence/types.js';
import { type FailureClassification, type PlainValidationSummary } from './types.js';
export declare const RETRY_OVERFLOW_THRESHOLD = 5;
export declare const STEP_VERIFICATION_OVERFLOW_THRESHOLD = 10;
export declare const WORKFLOW_STEP_OVERFLOW_THRESHOLD = 10;
/**
 * Classify a failure from full run evidence, a structured summary, or a
 * bootstrap plain-text validation summary.
 * Returns a classification even for passing runs (with failureClass 'unknown'
 * and a summary indicating no failure).
 */
export declare function classifyFailure(evidence: WorkflowRunEvidence): FailureClassification;
export declare function classifyFailure(outcome: EvidenceOutcome): FailureClassification;
export declare function classifyFailure(summary: EvidenceSummary): FailureClassification;
export declare function classifyFailure(summary: PlainValidationSummary): FailureClassification;
/**
 * Classify from an EvidenceSummary or plain validation summary, optionally
 * with full evidence for deeper signal extraction.
 */
export declare function classifyFromSummary(summary: EvidenceSummary, evidence?: WorkflowRunEvidence): FailureClassification;
export declare function classifyFromSummary(summary: PlainValidationSummary): FailureClassification;
