import { Config } from "./config"; export declare class ApiClient { private readonly mApiUrl; /** * The current url of this API */ get apiUrl(): string; /** * * @param apiUrl The full address and port of the API. */ constructor(mApiUrl: string | Config); /** * Makes a request for a relay transaction to the remote any.sender API endpoint. * @param relayTransaction */ protected executePostRequest(body: TBody, endpoint: string): Promise; protected executeGetRequest(endpoint: string): Promise; /** * Check the response is 200, else throw an error with the contained messgae * @param response */ protected checkResponse(response: Response): Promise; } //# sourceMappingURL=apiClient.d.ts.map