import type { CID } from 'multiformats/cid'; /** Minimal async block store interface — get/put/has. */ export interface BlockStore { get(cid: CID): Promise; put(cid: CID, bytes: Uint8Array): Promise; has(cid: CID): Promise; } /** * A block store that reads locally first, with optional remote fallback. * On get: local hit → return; local miss + remote → fetch, write-back, return. * put/has always operate on local only. */ export declare class LocalFirstBlockStore implements BlockStore { private local; private remote?; constructor(local: BlockStore, remote?: Pick); get(cid: CID): Promise; put(cid: CID, bytes: Uint8Array): Promise; has(cid: CID): Promise; } //# sourceMappingURL=index.d.ts.map