import { DavErrorCode } from './webdav'; export declare class HttpError extends Error { response: Response; statusCode: number; /** parsed response body, read once before the error is thrown */ data?: unknown; constructor(message: string, response: Response, statusCode?: number, data?: unknown); } export declare class DavHttpError extends HttpError { errorCode: DavErrorCode; constructor(message: string, errorCode: DavErrorCode, response: Response, statusCode?: number); }