import { Bucket } from 'hamt-sharding'; 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'; import type { BucketChild } from 'hamt-sharding'; declare class DirSharded extends Dir { readonly bucket: Bucket; constructor(props: DirProps, options: AddToTreeOptions); put(name: string, value: InProgressImportResult | Dir): Promise; get(name: string): Promise; childCount(): number; directChildrenCount(): number; onlyChild(): Bucket | BucketChild; eachChildSeries(): Generator<{ key: string; child: InProgressImportResult | Dir; }>; estimateNodeSize(): Promise; flush(blockstore: WritableStorage): AsyncGenerator; } export default DirSharded; //# sourceMappingURL=dir-sharded.d.ts.map