import { Writable } from 'stream'; import { Filter } from '../types.ts'; import { MultiConnectionRealTimeFeedBase, PoolingClientBase, RealTimeFeedBase, type Sequence } from './realtimefeed.ts'; export declare class AsterRealTimeFeed extends RealTimeFeedBase { protected static readonly depthChannel = "depth"; protected static readonly depthSnapshotChannel = "depthSnapshot"; protected readonly depthStream: string; protected readonly depthRequestRequestWeight = 20; protected readonly wssURL: string; protected readonly httpURL: string; protected readonly channels: Set; protected readonly channelMappings: { [key: string]: string | undefined; }; protected getSequence(message: any): Sequence | undefined; protected mapToSubscribeMessages(filters: Filter[]): any[]; protected messageIsError(message: any): boolean; protected provideManualSnapshots(filters: Filter[], shouldCancel: () => boolean): Promise; private validateDepthSnapshotFilters; } export declare class AsterFuturesRealTimeFeed extends MultiConnectionRealTimeFeedBase { protected _getRealTimeFeeds(exchange: string, filters: Filter[], timeoutIntervalMS?: number, onError?: (error: Error) => void, validateSequence?: boolean): Generator; } export declare class AsterFuturesWebSocketRealTimeFeed extends AsterRealTimeFeed { protected readonly wssURL: string; protected readonly httpURL: string; protected readonly channels: Set; protected readonly channelMappings: { [key: string]: string | undefined; }; } declare class AsterFuturesOpenInterestClient extends PoolingClientBase { private readonly _exchange; private readonly _httpURL; private readonly _instruments; private readonly _minPollingIntervalMS; private readonly _minAvailableWeightBuffer; private readonly _maxPollingIntervalMS; private _currentPollingIntervalMS; private _requestWeightLimiter; constructor(_exchange: string, _httpURL: string, _instruments: string[], onError?: (error: Error) => void); protected getPoolingDelayMS(): number; protected poolDataToStream(outputStream: Writable): Promise; private _waitForAvailableWeight; private _initializeRateLimitInfo; private _notifyError; } export type AsterFuturesOpenInterestData = { symbol: string; openInterest: string; time: number; }; export {}; //# sourceMappingURL=aster.d.ts.map