import { Writable } from 'stream'; import { Filter } from '../types.ts'; import { MultiConnectionRealTimeFeedBase, PoolingClientBase, RealTimeFeedBase } from './realtimefeed.ts'; export declare class WhiteBitRealTimeFeed extends MultiConnectionRealTimeFeedBase { protected readonly httpURL: string; protected _getRealTimeFeeds(exchange: string, filters: Filter[], timeoutIntervalMS?: number, onError?: (error: Error) => void): Generator; } export declare class WhiteBitWebSocketRealTimeFeed extends RealTimeFeedBase { private readonly _startDelayMS; protected readonly wssURL = "wss://wss.whitebit.com/ws"; private readonly _lastUpdateIds; constructor(exchange: string, filters: Filter[], timeoutIntervalMS: number | undefined, onError?: (error: Error) => void, _startDelayMS?: number); protected getWebSocketUrl(): Promise; protected mapToSubscribeMessages(filters: Filter[]): { id: number; method: string; params: (string | number | boolean)[]; }[]; protected messageIsError(message: { error?: unknown; }): boolean; protected onMessage(message: { method?: string; params?: [boolean, { update_id: number; past_update_id?: number; }, string]; }): void; } declare class WhiteBitFuturesClient extends PoolingClientBase { private readonly _symbols; private readonly _httpURL; constructor(exchange: string, _symbols: string[], _httpURL: string, onError?: (error: Error) => void); protected poolDataToStream(outputStream: Writable): Promise; } export {}; //# sourceMappingURL=whitebit.d.ts.map