import { NodeConfig } from '../../configure'; import { BlockHeightMap } from '../../utils/blockHeightMap'; import { IBlock } from '../types'; import { DictionaryResponse, IDictionary } from './types'; import { FieldSelector } from './v2'; export declare abstract class CoreDictionary implements IDictionary { protected chainId: string; protected readonly nodeConfig: NodeConfig; protected queriesMap?: BlockHeightMap; protected _startHeight: number; protected _metadata?: M; metadataValid: boolean | undefined; constructor(chainId: string, nodeConfig: NodeConfig); abstract getData(startBlock: number, queryEndBlock: number, limit: number, fieldSelector?: FieldSelector): Promise | undefined>; protected abstract init(): Promise; protected abstract dictionaryValidation(metaData?: M, startBlockHeight?: number): boolean; protected abstract buildDictionaryQueryEntries(dataSources: DS[]): E | undefined; abstract queryMapValidByHeight(height: number): boolean; abstract getQueryEndBlock(targetBlockHeight: number, apiFinalizedHeight: number): number; get startHeight(): number; protected get metadata(): M; protected get useDictionary(): boolean; protected setDictionaryStartHeight(start: number | undefined): void; heightValidation(height: number): boolean; updateQueriesMap(dataSources: BlockHeightMap): void; protected getQueryConditions(startBlock: number, queryEndBlock: number): { queryEndBlock: number; conditions: E | undefined; }; }