import { ApiPromise } from '@polkadot/api'; import { ApiDecoration } from '@polkadot/api/types'; import { Entity, SubstrateBlock, SubstrateEvent, SubstrateExtrinsic } from '@subql/types'; export interface BlockContent { block: SubstrateBlock; extrinsics: SubstrateExtrinsic[]; events: SubstrateEvent[]; } export declare enum OperationType { Set = "Set", Remove = "Remove" } export declare type OperationEntity = { operation: OperationType; entityType: string; data: Entity | string; }; export declare type ApiAt = ApiDecoration<'promise'> & { rpc: ApiPromise['rpc']; };