import { WrappedError } from '../errors'; export declare type AxiosErrorObject = {}; /** * An error thrown by axios made r with large fields removed and the original error converted * into an object with its config removed. */ export declare class AxiosError extends WrappedError { } /** * Axios error with only status, statusText and data response error fields and a smaller original * error. */ export declare class AxiosServerError extends AxiosError { readonly status: number; readonly statusText: string; readonly data: {}; constructor(response: { data: {}; status: number; statusText: string; }, originalError: AxiosErrorObject); }