/** * @packageDocumentation * * A test suite that ensures a given implementation implements the Blockstore interface properly. * * @example * * ```js * const MyBlockstore from './path/to/my-blockstore') * const suite from 'interface-blockstore-tests') * * describe('MyBlockstore', () => { * describe('interface-blockstore compliance tests', () => { * suite({ * setup () { * return new MyBlockstore() * }, * teardown () {} * }) * }) * }) * ``` */ import type { Blockstore } from 'interface-blockstore'; export interface InterfaceBlockstoreTest { setup(): B | Promise; teardown(store: B): void | Promise; } export declare function interfaceBlockstoreTests(test: InterfaceBlockstoreTest): void; //# sourceMappingURL=index.d.ts.map