/** * Error classes for MCP Client */ export declare class McpClientError extends Error { readonly code: string; readonly details?: any; constructor(message: string, code: string, details?: any); } export declare class ConnectionError extends McpClientError { constructor(message: string, details?: any); } export declare class ConfigurationError extends McpClientError { constructor(message: string, details?: any); } export declare class ProtocolError extends McpClientError { constructor(message: string, details?: any); } export declare class TimeoutError extends McpClientError { constructor(message: string, timeout: number); } export declare class ToolNotFoundError extends McpClientError { constructor(toolName: string, serverId: string); } export declare class ResourceNotFoundError extends McpClientError { constructor(uri: string, serverId: string); } export declare class PromptNotFoundError extends McpClientError { constructor(promptName: string, serverId: string); } export declare function isError(value: any): value is Error; export declare function isMcpError(value: any): value is McpClientError; export declare function toMcpError(error: unknown): McpClientError; //# sourceMappingURL=errors.d.ts.map