import type { CID } from "multiformats/cid"; import type { IBlock } from "../block.js"; export declare function writerV1(roots: Array, blocks: Iterable): Generator; export declare function writerV2(roots: Array, blocks: Iterable & { encodedLength: number; }): Generator, void, unknown>; export declare function iterableBytes(generator: Generator): Iterable & AsyncIterable; export declare function asAsyncGenerator(sync: Iterable): AsyncGenerator; //# sourceMappingURL=writer.d.ts.map