import type { ToolCallRepairFunction, ToolSet } from "../types/index.js";
/**
 * Create an `experimental_repairToolCall` handler for streamText/generateText.
 * Fully dynamic — reads the tool schema at repair time, no configuration needed.
 */
export declare function createToolCallRepair(): ToolCallRepairFunction<ToolSet>;
/**
 * Coerce a value to match the expected schema type.
 * Handles: string→number, JSON string→object, JSON string→array, value→[value].
 * Exported for reuse by the MCP-layer parameter validator
 * (toolDiscoveryService), which coerces before rejecting so a recoverable
 * mismatch doesn't cost the agent loop a full model round-trip.
 */
export declare function coerceType(value: unknown, propSchema: Record<string, unknown>): unknown;
