import type { Lookup, StoreFixture } from '../../../services/ports/lookup.js'; /** A lookup and the way to put a store, described as data, behind it. */ export interface LookupHarness { lookup: Lookup; /** Makes the store what the fixture says, and nothing more. */ set(fixture: StoreFixture): Promise; } /** * What every `Lookup` must answer (ยง 4.5, point 6). It runs against * `MemoryLookup` in the unit tests and against `PgLookup` on a database, so a * double that answers differently from the real thing cannot pass. */ export declare function lookupContract(label: string, make: () => Promise): void;