/** * @packageDocumentation * * Layout functions allow customising the shape of final DAGs * * {@link https://dag.ipfs.tech} can be used to explore different conigurations. */ import type { InProgressImportResult } from '../index.js'; export interface Reducer { (leaves: InProgressImportResult[]): Promise; } export interface FileLayout { (source: AsyncIterable | Iterable, reducer: Reducer): Promise; } export { balanced } from './balanced.ts'; export { flat } from './flat.ts'; export { trickle } from './trickle.ts'; //# sourceMappingURL=index.d.ts.map