import { HttpRequestConfig, HttpResponse, Method } from "../types/index"; export default class Http { request(url: any, config?: any): HttpResponse; get(url: string, config?: HttpRequestConfig): HttpResponse; delete(url: string, config?: HttpRequestConfig): HttpResponse; head(url: string, config?: HttpRequestConfig): HttpResponse; options(url: string, config?: HttpRequestConfig): HttpResponse; post(url: string, data?: any, config?: HttpRequestConfig): HttpResponse; put(url: string, data?: any, config?: HttpRequestConfig): HttpResponse; patch(url: string, data?: any, config?: HttpRequestConfig): HttpResponse; _requestMethodWithoutData(method: Method, url: string, config?: HttpRequestConfig): HttpResponse; _requestMethodWithData(method: Method, url: string, data?: any, config?: HttpRequestConfig): HttpResponse; }