export type TextualToolCallExtraction = {
    known: boolean;
    toolName: string;
};
export type ControlPayloadClassifierOptions = {
    ignoreMarkdownCodeFences?: boolean;
};
export type ControlPayloadPrefixRisk = "none" | "ambiguous-provider-native-json-prefix" | "ambiguous-runtime-kind-json-prefix" | "standalone-open-json-prefix" | "strong-control-prefix";
export declare function containsControlPayloadFinal(text: string, toolNames?: readonly string[], options?: ControlPayloadClassifierOptions): boolean;
export declare function containsControlPayloadPrefix(text: string, toolNames?: readonly string[], options?: ControlPayloadClassifierOptions): boolean;
export declare function classifyControlPayloadPrefixRisk(text: string, toolNames?: readonly string[], options?: ControlPayloadClassifierOptions): ControlPayloadPrefixRisk;
export declare function shouldHoldControlPayloadPrefix(text: string): boolean;
export declare function shouldHoldTextualToolInvocationPrefix(text: string, toolNames: readonly string[], options?: {
    holdSingleCharacterPrefix?: boolean;
}): boolean;
export declare function classifyStandaloneRuntimeDecisionJsonKind(text: string): "phase_result" | "plan_update" | "respond" | "tool" | undefined;
export declare function looksLikeStandaloneRuntimeDecisionJson(text: string): boolean;
export declare function looksLikeStandaloneRuntimeControlJson(text: string): boolean;
export declare function looksLikeStandaloneProviderNativeToolCallJson(text: string): boolean;
export declare function looksLikeStandaloneRuntimeToolDecisionJson(text: string): boolean;
export declare function extractStandaloneRuntimeDecisionJsonBlocks(text: string): string[];
export declare function extractStandaloneRuntimeControlJsonBlocks(text: string, options?: ControlPayloadClassifierOptions): string[];
export declare function extractTextualToolCallName(text: string, toolNames: readonly string[]): TextualToolCallExtraction | undefined;
export declare function hasToolCallMarkup(text: string): boolean;
export declare function hasToolCallMarkupPrefix(text: string): boolean;
export declare function hasProviderInternalPayload(text: string): boolean;
export declare function hasPhaseOrPlanPayload(text: string): boolean;
//# sourceMappingURL=control-payload-classifier.d.ts.map