import { IRpcClient } from '@interchainjs/types'; import { ICosmosEventClient } from '../types/cosmos-client-interfaces'; import { Block } from '../types/responses/common/block/block'; import { BlockHeader } from '../types/responses/common/header/block-header'; import { TxEvent, BlockEvent } from '../types/responses/common/event'; export declare class CosmosEventClient implements ICosmosEventClient { private rpcClient; private activeSubscriptions; constructor(rpcClient: IRpcClient); subscribeToEvents(eventType: string, filter?: unknown): AsyncIterable; subscribeToBlocks(): AsyncIterable; subscribeToBlockHeaders(): AsyncIterable; subscribeToTxs(query?: string): AsyncIterable; subscribeToValidatorSetUpdates(): AsyncIterable; unsubscribeFromAll(): Promise; private buildQuery; }