import { RequestConfig, RequestResponse } from '../types'; export declare class RequestError extends Error { isAxiosError: boolean; config: RequestConfig; code?: string | null; request?: any; response?: RequestResponse; constructor(message: string, config: RequestConfig, code?: string | null, request?: any, response?: RequestResponse); } export declare function createError(message: string, config: RequestConfig, code?: string | null, request?: any, response?: RequestResponse): RequestError;