import { Chain } from '../../../../sdk'; import { BulkIngestorBaseOptions } from '../Api/BulkIngestorApi'; import { BlockHeader } from '../Api/BlockHeaderApi'; import { ChaintracksClientApi } from '../Api/ChaintracksClientApi'; import { HeightRange, HeightRanges } from '../util/HeightRange'; import { BulkIngestorBase } from './BulkIngestorBase'; export interface BulkIngestorChaintracksOptions extends BulkIngestorBaseOptions { chain: Chain; chaintracks: ChaintracksClientApi; /** Maximum headers requested from the upstream service at once. */ maxHeadersPerRequest?: number; } /** * Uses a go-chaintracks/Arcade-compatible service as a validated bulk source. * Retrieved bytes still pass through ChainTracks' local serialization, hash, * continuity, and genesis checks before storage. */ export declare class BulkIngestorChaintracks extends BulkIngestorBase { private readonly chaintracks; private readonly maxHeadersPerRequest; private networkChecked; constructor(options: BulkIngestorChaintracksOptions); getPresentHeight(): Promise; fetchHeaders(_before: HeightRanges, fetchRange: HeightRange, bulkRange: HeightRange, priorLiveHeaders: BlockHeader[]): Promise; private ensureNetwork; } //# sourceMappingURL=BulkIngestorChaintracks.d.ts.map