import { ApiPromise } from '@polkadot/api'; import { isBlockHandlerProcessor, isCallHandlerProcessor, isEventHandlerProcessor, SubstrateCustomDataSource, SubstrateHandlerKind, SubstrateRuntimeHandlerInputMap } from '@subql/common-substrate'; import { NodeConfig, SandboxService, IndexerSandbox, ProcessBlockResponse, BaseIndexerManager, DsProcessorService, IBlock, UnfinalizedBlocksService, DynamicDsService } from '@subql/node-core'; import { SubstrateBlock, SubstrateBlockFilter, SubstrateCustomDatasource, SubstrateDatasource } from '@subql/types'; import { BlockchainService } from '../blockchain.service'; import { SubstrateProjectDs } from '../configure/SubqueryProject'; import * as SubstrateUtil from '../utils/substrate'; import { ApiService as SubstrateApiService } from './api.service'; import { ApiAt, BlockContent, LightBlockContent } from './types'; export declare class IndexerManager extends BaseIndexerManager { constructor(apiService: SubstrateApiService, nodeConfig: NodeConfig, sandboxService: SandboxService, dsProcessorService: DsProcessorService, dynamicDsService: DynamicDsService, unfinalizedBlocksService: UnfinalizedBlocksService, blockchainService: BlockchainService); indexBlock(block: IBlock, dataSources: SubstrateDatasource[]): Promise; protected indexBlockData(blockContent: LightBlockContent | BlockContent, dataSources: SubstrateProjectDs[], getVM: (d: SubstrateProjectDs) => Promise): Promise; private indexContent; protected prepareFilteredData(kind: SubstrateHandlerKind, data: T): Promise; } declare const ProcessorTypeMap: { "substrate/BlockHandler": typeof isBlockHandlerProcessor; "substrate/EventHandler": typeof isEventHandlerProcessor; "substrate/CallHandler": typeof isCallHandlerProcessor; }; declare const FilterTypeMap: { "substrate/BlockHandler": (block: SubstrateBlock, filter?: SubstrateBlockFilter) => boolean; "substrate/EventHandler": typeof SubstrateUtil.filterEvent; "substrate/CallHandler": typeof SubstrateUtil.filterExtrinsic; }; export {};