import type { ProviderTurnActionPolicy } from "@best-agent/protocol";
import type { ProviderToolOption } from "../../provider/provider-core.js";
import type { PromptDeliverableFailure } from "../../prompt/runtime-prompts.js";
import { type RuntimeObservation, type TerminalOutputInvalidKind } from "./runtime-observation.js";
import { type TerminalOutputInvalidClassification } from "./terminal-output-classifier.js";
export declare function terminalOutputInvalidActionPolicy(input: {
    baseActionPolicy: ProviderTurnActionPolicy;
    deliverableFailures: PromptDeliverableFailure[];
    invalidKind?: TerminalOutputInvalidKind;
    leakedToolKnown?: boolean;
    visibleTools: ProviderToolOption[];
}): ProviderTurnActionPolicy;
export declare function buildTerminalOutputInvalidRepair(input: {
    baseActionPolicy: ProviderTurnActionPolicy;
    classificationToolNames?: readonly string[];
    deliverableFailures: PromptDeliverableFailure[];
    observationToolNames?: readonly string[];
    text: string;
    visibleTools: ProviderToolOption[];
}): {
    actionPolicy: ProviderTurnActionPolicy;
    classification: TerminalOutputInvalidClassification;
    observation: RuntimeObservation;
    requiresDeliverableAssertion: boolean;
    requiresNativeToolOnlyRepair: boolean;
    suppressStructuredControls: boolean;
};
//# sourceMappingURL=provider-terminal-output-handler.d.ts.map