import type { EntitlementStore } from '../index.js'; export interface StoreConformanceOptions { /** Name printed in the test descriptions. */ readonly name: string; /** * Factory invoked once per test case to produce a fresh, empty store. * Implementations may also pass a {@link AdvancedFactory} for tests that * need to inject a `beforeAtomicSection` hook to exercise concurrency. */ readonly create: () => Promise; /** * Optional factory that returns a store wrapping an injected * `beforeAtomicSection` hook. Required to opt into the concurrency * property tests; if omitted those tests are skipped. */ readonly createWithYield?: (yieldHook: () => Promise) => Promise; } /** * Run the shared `EntitlementStore` conformance suite against an * implementation. Adapter authors call this from their own test file: * * ```ts * runEntitlementStoreConformance({ * name: 'MyStore', * create: async () => new MyStore(), * }); * ``` */ export declare function runEntitlementStoreConformance(options: StoreConformanceOptions): void; //# sourceMappingURL=conformance.d.ts.map