import { SubstrateDatasourceKind, SubstrateHandlerKind } from '@subql/types'; import { DictionaryQueryEntry } from '@subql/types-core'; import { NodeConfig } from '../../configure'; import { BlockHeightMap } from '../../utils'; import { IBlock } from '../types'; import { DictionaryResponse } from './types'; import { DictionaryV1 } from './v1'; import { DictionaryV2, DictionaryV2Metadata, DictionaryV2QueryEntry, RawDictionaryResponseData } from './v2'; export declare class TestDictionaryV1 extends DictionaryV1 { private queryEntry; constructor(endpoint: string, chainId: string, nodeConfig: NodeConfig, queryEntry: DictionaryQueryEntry[]); buildDictionaryQueryEntries(dataSources: any[]): DictionaryQueryEntry[]; } export declare const HAPPY_PATH_CONDITIONS: DictionaryQueryEntry[]; export declare const mockDS: ({ name: string; kind: SubstrateDatasourceKind; startBlock: number; mapping: { handlers: { handler: string; kind: SubstrateHandlerKind; filter: { module: string; method: string; }; }[]; file: string; }; } | { name: string; kind: SubstrateDatasourceKind; startBlock: number; mapping: { handlers: { handler: string; kind: SubstrateHandlerKind; filter: { module: string; method: string; success: boolean; }; }[]; file: string; }; })[]; export declare const dsMap: BlockHeightMap; export interface TestFB { gasLimit: bigint; gasUsed: bigint; hash: string; } export declare class TestDictionaryV2 extends DictionaryV2 { get testMetadata(): DictionaryV2Metadata | undefined; setMockedApi(mocked: { post: () => any; }): void; buildDictionaryQueryEntries(dataSources: any[]): DictionaryV2QueryEntry; convertResponseBlocks(result: RawDictionaryResponseData): DictionaryResponse> | undefined; mockInit(): Promise; }