import type { TraversalStrategy } from '../index.ts'; import type { CodecLoader } from '@helia/interface'; import type { AbortOptions } from '@libp2p/interface'; import type { Blockstore } from 'interface-blockstore'; import type { BlockView } from 'multiformats'; import type { CID } from 'multiformats/cid'; /** * Simple strategy that traverses a known path to a target CID. * * All this strategy does is yield the next CID in the known path. * * The path should end with the CID to be exported */ export declare class CIDPath implements TraversalStrategy { private readonly path; constructor(path: CID[]); traverse(root: CID, blockstore: Blockstore, getCodec: CodecLoader, options?: AbortOptions): AsyncGenerator, void, undefined>; } //# sourceMappingURL=cid-path.d.ts.map