/**
 * Evidence gate checking implementation.
 *
 * Evaluates a list of evidence gates (file-exists, command-pass,
 * diff-nonempty, summary-present) and returns structured results.
 */
import type { DagNodeEvidence } from "./dag.js";
import type { EvidenceFailureKind } from "./diagnostics.js";
export declare const SUMMARY_ALIASES: string[];
export interface EvidenceGate {
    type: "file-exists" | "command-pass" | "diff-nonempty" | "summary-present";
    path?: string;
    command?: string;
    summaryMarker?: string;
    severity?: "required" | "warn";
}
export interface EvidenceCheckContext {
    cwd: string;
    stdout: string;
    nodeId: string;
    runId?: string;
    attemptId?: string;
}
export interface EvidenceResult extends DagNodeEvidence {
    failureKind?: EvidenceFailureKind;
    command?: string;
    exitCode?: number;
    stdoutTail?: string;
    stderrTail?: string;
    evidenceText?: string;
}
export declare function checkEvidenceGates(gates: EvidenceGate[], context: EvidenceCheckContext): Promise<{
    passed: boolean;
    evidence: EvidenceResult[];
    warnings: EvidenceResult[];
}>;
