import { BlockHeader, Chain } from '../../../../sdk'; import { LiveIngestorBase } from './LiveIngestorBase'; import { LiveIngestorWhatsOnChainOptions } from './LiveIngestorWhatsOnChainPoll'; import { StopListenerToken } from './WhatsOnChainIngestorWs'; import { WhatsOnChainServices } from './WhatsOnChainServices'; export declare class LiveIngestorWhatsOnChainWs extends LiveIngestorBase { static createLiveIngestorWhatsOnChainOptions(chain: Chain): LiveIngestorWhatsOnChainOptions; idleWait: number; retryWait: number; retryWaitMax: number; maxQueuedHeaders: number; woc: WhatsOnChainServices; stopNewListenersToken: StopListenerToken; done: boolean; constructor(options: LiveIngestorWhatsOnChainOptions); getHeaderByHash(hash: string): Promise; startListening(liveHeaders: BlockHeader[]): Promise; stopListening(): void; shutdown(): Promise; private validatePositiveOption; private waitUnlessStopped; private safeProviderMessage; } //# sourceMappingURL=LiveIngestorWhatsOnChainWs.d.ts.map