import { Crypto } from '../crypto'; import { type WebSocketSession } from '../websocket'; import { type KeyPair, type MessageListener } from './types'; export declare abstract class WebSocketTransportClient { private readonly urls; private readonly connectionTimeoutMillis; private readonly session; private readonly crypto; private readonly maxPayloadLogLength; private readonly enableLogging; private readonly version; private readonly isConnected; private messageProcessors; private messageListeners; private lastSelectedURL; protected constructor(urls: string[], connectionTimeoutMillis: number, session: WebSocketSession, crypto?: Crypto, maxPayloadLogLength?: number, enableLogging?: boolean); private tryConnectingToUrls; connect(keyPair: KeyPair): Promise; send(publicKeyOrSenderId: Uint8Array, payload: Uint8Array): Promise; onMessage(listener: MessageListener): void; close(): Promise; idFromPublicKey(publicKey: Uint8Array): Uint8Array; private onAction; private onConnected; private onSend; private onNotify; private log; } //# sourceMappingURL=client.d.ts.map