export declare class ErrorMCP extends Error { code: string; details?: any; constructor(message: string, code: string, details?: any); } export declare const errorTypes: { CONNECTION: string; VALIDATION: string; NOT_FOUND: string; INTERNAL: string; }; export declare function formatClientError(error: unknown): { error: string; message: string; code: string; };