import { type ControlPayloadClassifierOptions, type ControlPayloadPrefixRisk } from "../../shared/control-payload-classifier.js";
import type { TerminalOutputInvalidKind, TerminalOutputInvalidReasonCode } from "./runtime-observation.js";
export type TerminalOutputInvalidClassification = {
    invalidKind: TerminalOutputInvalidKind;
    reasonCode: TerminalOutputInvalidReasonCode;
    toolKnown?: boolean;
    toolName?: string;
};
export declare function containsTerminalControlPayload(text: string, toolNames?: readonly string[]): boolean;
export declare function containsTerminalControlPayloadFinal(text: string, toolNames?: readonly string[], options?: ControlPayloadClassifierOptions): boolean;
export declare function containsTerminalControlPayloadPrefix(text: string, toolNames?: readonly string[], options?: ControlPayloadClassifierOptions): boolean;
export declare function shouldHoldTerminalControlPayloadPrefix(text: string): boolean;
export declare function classifyTerminalControlPayloadPrefixRisk(text: string, toolNames?: readonly string[]): ControlPayloadPrefixRisk;
export declare function shouldHoldTerminalTextualToolInvocationPrefix(text: string, toolNames: readonly string[], options?: {
    holdSingleCharacterPrefix?: boolean;
}): boolean;
export declare function classifyTerminalOutputInvalid(text: string, toolNames?: readonly string[]): TerminalOutputInvalidClassification;
//# sourceMappingURL=terminal-output-classifier.d.ts.map