import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios'; export type RequestConfig = AxiosRequestConfig; export type Response = AxiosResponse; export declare class Request { private request; constructor(request?: import("axios").AxiosInstance); get(url: string, config?: RequestConfig): Promise>; post(url: string, data?: any, config?: RequestConfig): Promise>; put(url: string, data?: any, config?: RequestConfig): Promise>; patch(url: string, data?: any, config?: RequestConfig): Promise>; delete(url: string, config?: RequestConfig): Promise>; static isRequestError(error: AxiosError): boolean; }