import { z } from 'zod'; export declare const JSONRPCVersionSchema: z.ZodLiteral<"2.0">; export declare const JSONRPCIdSchema: z.ZodUnion; export declare const JSONRPCErrorSchema: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; export declare const MCPRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; method: z.ZodString; params: z.ZodOptional>; id: z.ZodUnion; }, z.core.$strip>; export declare const MCPResponseSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; result: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; id: z.ZodUnion; }, z.core.$strip>; export declare const MCPNotificationSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; method: z.ZodString; params: z.ZodOptional>; }, z.core.$strip>; export declare const MCPResourceSchema: z.ZodObject<{ uri: z.ZodString; name: z.ZodString; mimeType: z.ZodOptional; description: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; export declare const MCPToolSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; inputSchema: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export declare const MCPServerConfigSchema: z.ZodObject<{ name: z.ZodString; version: z.ZodString; transport: z.ZodDefault>; host: z.ZodOptional; port: z.ZodOptional; securityMode: z.ZodDefault>; maxQuerySize: z.ZodDefault; queryTimeout: z.ZodDefault; }, z.core.$strip>; export declare const MCPProtocolClientConfigSchema: z.ZodObject<{ serverName: z.ZodString; transport: z.ZodEnum<{ stdio: "stdio"; tcp: "tcp"; websocket: "websocket"; http: "http"; }>; command: z.ZodOptional; host: z.ZodOptional; port: z.ZodOptional; reconnectAttempts: z.ZodDefault; reconnectDelay: z.ZodDefault; }, z.core.$strip>; export type JSONRPCId = z.infer; export type JSONRPCError = z.infer; export type MCPRequest = z.infer; export type MCPResponse = z.infer; export type MCPNotification = z.infer; export type MCPResource = z.infer; export type MCPTool = z.infer; export type MCPServerConfig = z.infer; export type MCPProtocolClientConfig = z.infer; export declare enum ErrorCode { InvalidRequest = -32600, MethodNotFound = -32601, InternalError = -32603 } export type MCPMessage = MCPRequest | MCPResponse | MCPNotification; //# sourceMappingURL=types.d.ts.map