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 McpHttpErrorType: { readonly HttpError: "http_error"; }; export type McpHttpErrorType = ClosedEnum; /** * The MCP server request failed at the HTTP layer */ export type McpHttpError = { code: number; message: string; type: McpHttpErrorType; }; /** @internal */ export declare const McpHttpErrorType$inboundSchema: z.ZodEnum; /** @internal */ export declare const McpHttpErrorType$outboundSchema: z.ZodEnum; /** @internal */ export declare const McpHttpError$inboundSchema: z.ZodType; /** @internal */ export type McpHttpError$Outbound = { code: number; message: string; type: string; }; /** @internal */ export declare const McpHttpError$outboundSchema: z.ZodType; export declare function mcpHttpErrorToJSON(mcpHttpError: McpHttpError): string; export declare function mcpHttpErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcphttperror.d.ts.map