import type { Tool } from '@modelcontextprotocol/sdk/types.js'; /** * Repair a single JSON Schema by injecting any missing well-known $defs * that are referenced via $ref but not present. * * Mutates the schema in place and returns it for convenience. */ export declare function repairSchema(schema: Record): Record; /** * Apply schema repair to every tool's inputSchema and outputSchema. * * This MUST run before the MCP SDK's AJV validator sees the schemas. * Mutates tools in place. */ export declare function repairToolSchemas(tools: Tool[]): void; //# sourceMappingURL=schema-repair.d.ts.map