import { Client } from '../base/Client'; import { JsonRpcRequest } from '../base/JsonRpcRequest'; import { HttpAddress, HttpAddressInitializer } from '../base/Transports'; /** * A `Client` using HTTP/S for communication. */ export declare class HttpClient extends Client { /** * The address of the server to connect to. */ readonly address: HttpAddress; /** * Construct a `HttpClient`. * * @param address The address of the server to connect to */ constructor(address?: HttpAddressInitializer); protected send(request: JsonRpcRequest): Promise; /** * @implements Implements {@link ClientType.discover}. * * @description Not implemented yet. In the future * could be implemented using port scanning on the * localhost. */ static discover(): Promise; }