import { Transport, TransportType } from './Transport'; import { CallRequestDTO } from '../CallRequestDTO'; import { CallResponseDTO } from '../CallResponseDTO'; import { RPCClientIdentity } from '../RPCClientIdentity'; import { RPCClientOptions, CallOptions } from '../RPCClient'; interface HTTPTransportOptions { host: string; rpcOptions: RPCClientOptions; } export declare class HTTPTransport implements Transport { readonly options: HTTPTransportOptions; private readonly host; private identity?; readonly name = "HttpTransport"; readonly type = TransportType['http']; constructor(options: HTTPTransportOptions); isConnected: () => boolean; sendRequest: (call: CallRequestDTO, opts: CallOptions) => Promise; setIdentity: (identity?: RPCClientIdentity) => void; destroy: () => void; } export {}; //# sourceMappingURL=HTTPTransport.d.ts.map