import { Client } from '../base/Client'; import { JsonRpcRequest } from '../base/JsonRpcRequest'; import { DirectAddressInitializer } from '../base/Transports'; import { DirectServer } from './DirectServer'; export declare class DirectClient extends Client { /** * The server to connect to */ private server; /** * Construct a `DirectClient`. * * @param address The address of the server to connect to */ constructor(address: DirectAddressInitializer | DirectServer); /** * @implements Implements {@link Client.send} by sending * the request directly to the server. */ protected send(request: JsonRpcRequest): Promise; /** * @implements Implements {@link ClientType.discover}. * * @description Discovery is not possible for direct * servers, so logs a warning and returns an empty array. */ static discover(): Promise; }