/** * Conservative coercion of stringified structured args. * * Models sometimes pass `todos: "[{...}]"` where the schema wants an array. * Coerce only when schema types exclude "string", the string looks structural, * JSON.parse succeeds, and the parsed JSON type is accepted. */ /** * Coerce top-level string fields whose schema demands a non-string JSON value. * Returns original args when nothing changes. */ export declare function coerceStringifiedArgs(schema: unknown, args: Record): { args: Record; coerced: string[]; }; export declare function hasCoercibleFields(schema: unknown): boolean;