/** Final-reference refusal uses only an already mounted schema retry, otherwise output denial. */
import type { TypedScope } from 'footprintjs';
import type { AgentState } from '../types.js';
import type { RouteBranch } from '../stages/route.js';
import type { ResolvedOutputEnforcement } from '../outputEnforcement.js';
import { findingsReferenceRefusal } from './admission.js';
export declare class FindingsAnswerRefusal extends Error {
    readonly teaching: string;
    constructor(teaching: string);
}
/** Throws only after the caller has preserved the attempted standings. */
export declare function assertAnswerReferences(scope: TypedScope<AgentState>, declaration: Parameters<typeof findingsReferenceRefusal>[0], malformed?: number): void;
export declare function withFindingsAdmission(decider: (scope: TypedScope<AgentState>) => RouteBranch | Promise<RouteBranch>, enforcement: ResolvedOutputEnforcement | undefined, recordStandings: (scope: TypedScope<AgentState>) => Promise<unknown>, announce: (scope: TypedScope<AgentState>, branch: RouteBranch, rationale: string) => void, willJudgeAnswer: (scope: TypedScope<AgentState>) => boolean): (scope: TypedScope<AgentState>) => Promise<RouteBranch>;
