import { Filter } from '../types.ts'; import { MultiConnectionRealTimeFeedBase, RealTimeFeedBase, Sequence } from './realtimefeed.ts'; export declare class OkexRealTimeFeed extends MultiConnectionRealTimeFeedBase { protected _getRealTimeFeeds(exchange: string, filters: Filter[], timeoutIntervalMS?: number, onError?: (error: Error) => void, validateSequence?: boolean): Generator; } declare class OkexSingleRealTimeFeed extends RealTimeFeedBase { protected wssURL: string; constructor(wssURL: string, exchange: string, filters: Filter[], timeoutIntervalMS: number | undefined, onError?: (error: Error) => void, validateSequence?: boolean); private _hasCredentials; protected getSequence(message: any): Sequence | undefined; private validateBookSequence; private secondsSinceEpoch; protected onConnected(): Promise; protected mapToSubscribeMessages(filters: Filter[]): any[]; protected messageIsError(message: any): boolean; protected isIgnoredError(message: any): boolean; } export declare class OkexOptionsRealTimeFeed extends MultiConnectionRealTimeFeedBase { protected _getRealTimeFeeds(exchange: string, filters: Filter[], timeoutIntervalMS?: number, onError?: (error: Error) => void, validateSequence?: boolean): Generator; } declare class OkexOptionsSingleRealTimeFeed extends OkexSingleRealTimeFeed { protected wssURL: string; constructor(wssURL: string, exchange: string, filters: Filter[], timeoutIntervalMS: number | undefined, onError?: (error: Error) => void, validateSequence?: boolean); private _defaultIndexes; private _defaultOptionSummaryInstrumentFamilies; private _channelRequiresIndexNotSymbol; protected mapToSubscribeMessages(filters: Filter[]): any[]; } export {}; //# sourceMappingURL=okex.d.ts.map