import { CID } from "multiformats/cid"; import { CodecIdentifier } from "../../dag/codecs.js"; export declare type Implementation = { getBlock: (cid: CID) => Promise; getUnixFile: (cid: CID) => Promise; getUnixDirectory: (cid: CID) => Promise; putBlock: (data: Uint8Array, codec: CodecIdentifier) => Promise; putChunked: (data: Uint8Array) => Promise; size: (cid: CID) => Promise; }; export declare type DirectoryItem = { isFile: boolean; cid: CID; name: string; size: number; }; export declare type PutResult = { cid: CID; size: number; isFile: boolean; };