import { Dir } from './dir.ts'; import type { DirProps } from './dir.ts'; import type { ImportResult, InProgressImportResult, WritableStorage } from './index.ts'; import type { AddToTreeOptions } from './tree-builder.ts'; export declare class DirFlat extends Dir { private readonly _children; constructor(props: DirProps, options: AddToTreeOptions); put(name: string, value: InProgressImportResult | Dir): Promise; get(name: string): Promise; childCount(): number; directChildrenCount(): number; onlyChild(): InProgressImportResult | Dir | undefined; eachChildSeries(): Generator<{ key: string; child: InProgressImportResult | Dir; }, void, undefined>; marshal(): Uint8Array; estimateNodeSize(): Promise; flush(block: WritableStorage): AsyncGenerator; } //# sourceMappingURL=dir-flat.d.ts.map