multiformats
Version:
Interface for multihash, multicodec, multibase and CID
10 lines • 458 B
TypeScript
import type { BlockView as _BlockView } from './block/interface.ts';
import type { CID, Version } from './cid.ts';
type BlockView<T = unknown, C extends number = number, A extends number = number, V extends Version = Version> = _BlockView<T, C, A, V>;
export declare function walk({ cid, load, seen }: {
cid: CID;
load(cid: CID): Promise<BlockView | null>;
seen?: Set<string>;
}): Promise<void>;
export {};
//# sourceMappingURL=traversal.d.ts.map