export declare enum ErrorCode { VALIDATION_ERROR = "VALIDATION_ERROR", AUTH_ERROR = "AUTH_ERROR", NOT_FOUND = "NOT_FOUND", RATE_LIMITED = "RATE_LIMITED", API_ERROR = "API_ERROR", TIMEOUT = "TIMEOUT" } export declare class ToolError extends Error { readonly code: ErrorCode; readonly retryable: boolean; readonly details?: Record; constructor(code: ErrorCode, message: string, retryable?: boolean, details?: Record); } export declare function classifyHttpError(status: number, body: string): ToolError; //# sourceMappingURL=errors.d.ts.map