import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const McpToolExecutionErrorType: { readonly McpToolExecutionError: "mcp_tool_execution_error"; }; export type McpToolExecutionErrorType = ClosedEnum; /** * The MCP tool ran but reported a failure */ export type McpToolExecutionError = { content?: any | undefined; type: McpToolExecutionErrorType; }; /** @internal */ export declare const McpToolExecutionErrorType$inboundSchema: z.ZodEnum; /** @internal */ export declare const McpToolExecutionErrorType$outboundSchema: z.ZodEnum; /** @internal */ export declare const McpToolExecutionError$inboundSchema: z.ZodType; /** @internal */ export type McpToolExecutionError$Outbound = { content?: any | undefined; type: string; }; /** @internal */ export declare const McpToolExecutionError$outboundSchema: z.ZodType; export declare function mcpToolExecutionErrorToJSON(mcpToolExecutionError: McpToolExecutionError): string; export declare function mcpToolExecutionErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcptoolexecutionerror.d.ts.map