/** * Fetch HTTP Response Error */ export declare class HTTPResponseError extends Error { readonly message: string; constructor(status: number, statusText: string, body: any | undefined); /** * Create a readable string from the response body * @param body */ createReadableString(body: any): string; toString(): string; /** * Get Error Info as JSON */ toJSON(): { message: string; }; }