import type { AuthConfig } from '../auth/signer.js'; import type { InstrumentName, UInt64String } from '../types/common.js'; import type { WSTradingStateSnapshotEvent, WSTradingTransactionEvent, WSAccountStateEvent, WSInstrumentEvent, WSHmrSnapshotEvent, WSHmrUpdateEvent, WsErrorResponse } from '../types/ws-events.js'; import { ExnessWsBase } from './ws-base.js'; export declare class ExnessEventsClient extends ExnessWsBase { private readonly handlers; private readonly activeSubscriptions; constructor(baseUrl: string, accountId: UInt64String, auth: AuthConfig, getClockOffsetMs?: () => number); on(event: 'trading_state_snapshot', cb: (e: WSTradingStateSnapshotEvent) => void): this; on(event: 'transaction_event', cb: (e: WSTradingTransactionEvent) => void): this; on(event: 'account_state_event', cb: (e: WSAccountStateEvent) => void): this; on(event: 'instrument_event', cb: (e: WSInstrumentEvent) => void): this; on(event: 'hmr_snapshot', cb: (e: WSHmrSnapshotEvent) => void): this; on(event: 'hmr_update', cb: (e: WSHmrUpdateEvent) => void): this; on(event: 'reconnected', cb: () => void): this; on(event: 'error', cb: (e: WsErrorResponse) => void): this; subscribeTransactions(requestId: string): void; subscribeAccountState(requestId: string): void; subscribeInstruments(requestId: string, instruments: InstrumentName[] | ['all']): void; subscribeHmr(requestId: string, instruments: InstrumentName[]): void; unsubscribeInstruments(requestId: string, instruments: InstrumentName[] | ['all']): void; unsubscribeHmr(requestId: string, instruments: InstrumentName[]): void; protected onConnected(): void; protected onReconnected(): void; protected onMessage(raw: string): void; } //# sourceMappingURL=events-client.d.ts.map