import type { CID } from 'multiformats';
import type { Blockstore, InputPair, Pair } from 'interface-blockstore';
import type { BlockstoreAbortOptions, BlockstoreInput, BlockstoreSource } from './blockstore-utils.js';
/**
 * Mock implementation for the Blockstore interface.
 *
 * WARNING!!! Purely to be used with `ipfs-unixfs-importer` to compute CID without needing consume any memory.
 * This is particularly useful when dealing with large files and a necessity in a large-scale production service environment.
 */
export declare class BlockstoreMock implements Blockstore {
    open(): Promise<void>;
    close(): Promise<void>;
    put(key: CID, _val: BlockstoreInput, _options?: BlockstoreAbortOptions): Promise<CID>;
    get(_key: CID, _options?: BlockstoreAbortOptions): AsyncGenerator<Uint8Array>;
    has(_key: CID, _options?: BlockstoreAbortOptions): Promise<boolean>;
    delete(_key: CID, _options?: BlockstoreAbortOptions): Promise<void>;
    isEmpty(_options?: BlockstoreAbortOptions): Promise<boolean>;
    putMany(source: BlockstoreSource<InputPair>, options?: BlockstoreAbortOptions): AsyncGenerator<CID>;
    getMany(source: BlockstoreSource<CID>, options?: BlockstoreAbortOptions): AsyncGenerator<Pair>;
    getAll(_options?: BlockstoreAbortOptions): AsyncGenerator<Pair>;
    deleteMany(source: BlockstoreSource<CID>, options?: BlockstoreAbortOptions): AsyncGenerator<CID>;
    /**
     * deletes all entries
     */
    clear(): Promise<void>;
}
//# sourceMappingURL=blockstore-mock.d.ts.map