import { AxiosRequestConfig, AxiosResponse, AxiosError as AxiosErrorType } from '../types'; export declare class AxiosErrors extends Error { isAxiosError?: boolean; config: AxiosRequestConfig; code?: string | null; request?: any; response?: AxiosResponse; constructor(message: string, config: AxiosRequestConfig, code?: string | null, request?: any, response?: AxiosResponse); } export declare function factoryError(message: string, config: AxiosRequestConfig, code?: string | null, request?: any, response?: AxiosResponse): AxiosErrorType;