import type { ActionTool } from "./agent/types.js"; /** * The repair a tool call's arguments get before schema validation: a gateway * that stringifies `true`, `3`, or a JSON array/object is undone per the * declared parameter type. Anything that reads a call's input to decide what * the handler will do (`retrySafe`) must see this form, not the raw model * input, or a stringified flag passes a strict comparison and still runs as * `true`. */ export declare function coerceGatewayStringifiedArgs(args: unknown, parameters?: ActionTool["parameters"]): unknown;