import { Writable } from 'stream'; import { Filter } from '../types.ts'; import { MultiConnectionRealTimeFeedBase, PoolingClientBase, RealTimeFeedBase, Sequence } 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, validateSequence?: boolean): Generator; } export declare class WhiteBitWebSocketRealTimeFeed extends RealTimeFeedBase { protected readonly wssURL = "wss://wss.whitebit.com/ws"; protected mapToSubscribeMessages(filters: Filter[]): { id: number; method: string; params: (string | number | boolean)[]; }[]; protected messageIsError(message: { error?: unknown; }): boolean; protected getSequence(message: any): Sequence | undefined; } 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