import type { z } from 'zod/v4'; export interface McpToolError { content: [{ type: 'text'; text: string; }]; isError: true; } export declare function validateToolArgs(schema: z.ZodType, args: unknown, toolName: string): { ok: true; value: T; } | { ok: false; error: McpToolError; }; //# sourceMappingURL=validate-tool-args.d.ts.map