/** * Conformance cases every `ExtractedValueStore` backend must pass. * * Framework-neutral on purpose. `packages/core` runs `bun:test`, while * `postgres-store`, `redis-store` and `cf-agent` run `node:test` against their * built `dist/`. A suite written against one runner is a suite the other * backends cannot run — and those are exactly the backends most likely to * diverge, so the shared contract would be lost where it matters most. * * Each case is `{ name, run(store) }` and throws on failure. Wrap them in * whatever runner the package uses: * * for (const c of extractedValueStoreConformanceCases) { * it(c.name, async () => { await c.run(makeStore()); }); * } */ import type { ExtractedValueStore } from './store.js'; export interface ExtractedValueStoreConformanceCase { name: string; run(store: ExtractedValueStore): Promise; } export declare const extractedValueStoreConformanceCases: ReadonlyArray;