import { AgentOptions } from "https" ; import HttpClientException from "./httpClientException" ; import ApiException from "../services/exception/apiException" ; import { Config } from "../index" ; import { IRequest } from "../typings/requestOptions" ; interface ClientInterface { request ( endpoint , json , config , isApiKeyRequired , requestOptions ? ) : Promise < string | HttpClientException | ApiException > ; post ( endpoint , postParameters , config ) : Promise < HttpClientException | string > ; proxy ? : AgentOptions ; } export default ClientInterface ;