/** MCP CallToolResult shape */ interface CallToolResult { [key: string]: unknown; isError?: boolean; content: Array<{ type: "text"; text: string; }>; } /** * Converts HTTP/Axios errors into safe MCP CallToolResult with isError: true. * NEVER leaks internal URLs, stack traces, or service names. */ export declare class ErrorMapper { static fromAxiosError(error: unknown): CallToolResult; static toolError(message: string): CallToolResult; static fileTooLarge(maxSize: string): CallToolResult; /** Strip anything that could leak internals */ private static sanitize; } export {};