import type { Filter, FilterContext, FilterResult, JsonObject } from '../types.js';
/**
 * Ensure assistant.tool_calls[].function.arguments is a JSON string containing valid JSON.
 * - If arguments is not a string, JSON.stringify it.
 * - If arguments is a string but not parseable as JSON, wrap it into a JSON object so the
 *   provider always receives syntactically valid JSON (e.g. {"input": "<raw>"}).
 * Also set assistant.content=null when tool_calls exist (request-side invariant).
 */
export declare class RequestToolCallsStringifyFilter implements Filter<JsonObject> {
    readonly name = "request_toolcalls_stringify";
    readonly stage: FilterContext['stage'];
    apply(input: JsonObject): FilterResult<JsonObject>;
}
