import Config from "../config"; import APIError from "../error"; export default class BaseHTTPClient { private config; constructor(config: Config); protected static errorHandler(reject: any): (error: Error | APIError) => void; protected makeCall(market: string, path: string, body?: PayloadType, method?: "GET" | "POST" | "PATCH" | "DELETE"): Promise; }