import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; export declare const McpProtocolErrorType: { readonly McpProtocolError: "mcp_protocol_error"; }; export type McpProtocolErrorType = ClosedEnum; /** * The MCP server returned a protocol-level error */ export type McpProtocolError = { code: number; message: string; type: McpProtocolErrorType; }; /** @internal */ export declare const McpProtocolErrorType$outboundSchema: z.ZodEnum; /** @internal */ export type McpProtocolError$Outbound = { code: number; message: string; type: string; }; /** @internal */ export declare const McpProtocolError$outboundSchema: z.ZodType; export declare function mcpProtocolErrorToJSON(mcpProtocolError: McpProtocolError): string; //# sourceMappingURL=mcpprotocolerror.d.ts.map