/** * Base MCP Error class */ export declare class MCPError extends Error { code: number; data?: any; constructor(message: string, code: number, data?: any); toJSON(): { error: { code: number; message: string; data: any; }; }; } /** * Authentication error */ export declare class AuthenticationError extends MCPError { constructor(message?: string, data?: any); } /** * Validation error */ export declare class ValidationError extends MCPError { constructor(message?: string, data?: any); } /** * Resource not found error */ export declare class ResourceNotFoundError extends MCPError { constructor(message?: string, data?: any); } /** * Tool execution error */ export declare class ToolExecutionError extends MCPError { constructor(message?: string, data?: any); } /** * Webhook error */ export declare class WebhookError extends MCPError { constructor(message?: string, data?: any); } /** * Storage error */ export declare class StorageError extends MCPError { constructor(message?: string, data?: any); } //# sourceMappingURL=index.d.ts.map