import type { JsonRpcError, ToolResult } from "./types.js"; export declare function mapHTTPError(status: number, body?: any): string; export declare function mapJSONRPCError(error: JsonRpcError): string; export declare function createErrorResult(message: string): ToolResult; export declare function isRetryableError(status: number): boolean; //# sourceMappingURL=errors.d.ts.map