/** * Weavetab by fy2ne * @file schema.ts — Plugin tool schema normalizer. * * Converts a plugin-provided tool schema into a Zod raw shape accepted by * `McpServer.tool()`. Supports the three shapes plugin authors may provide: * 1. Zod raw shape — { field: z.string() } (preferred) * 2. Zod object schema — z.object({ field: z.string() }) * 3. Plain JSON Schema — { type: "object", properties: { field: { type: "string" } } } */ export declare function toPluginInputShape(schema: any): Record;