import { Writable } from 'node:stream'; import { Filter } from '../types.ts'; import { MultiConnectionRealTimeFeedBase, PoolingClientBase, RealTimeFeedBase } from './realtimefeed.ts'; export declare class CoinbaseDerivativesRealTimeFeed extends MultiConnectionRealTimeFeedBase { protected _getRealTimeFeeds(exchange: string, filters: Filter[], timeoutIntervalMS?: number, onError?: (error: Error) => void): Generator; } declare class CoinbaseDerivativesSingleConnectionRealTimeFeed extends RealTimeFeedBase { protected wssURL: string; private sequence?; protected mapToSubscribeMessages(filters: Filter[]): ({ type: string; channel: string; product_ids: string[] | undefined; } | { type: string; channel: string; })[]; protected onConnected(): Promise; protected messageIsError(message: { type?: string; }): boolean; protected onMessage(message: { sequence_num?: number; }): void; } declare class CoinbaseDerivativesProductsClient extends PoolingClientBase { private readonly symbols; constructor(exchange: string, symbols: Set | undefined, onError?: (error: Error) => void); protected poolDataToStream(output: Writable): Promise; } export {}; //# sourceMappingURL=coinbasederivatives.d.ts.map