import type { RunEvent } from "../engine/types.ts"; import type { RunStore } from "./types.ts"; /** * An in-memory store, plus the whole log as one ordered sequence. * * `RunStore.loadEvents` is per-run by design, but a test usually wants "everything that happened, in * order" — which the store already knows. Exposing it here means tests read the log rather than * wrapping `emit` to collect a second copy of it. */ export interface MemoryStore extends RunStore { /** Every appended event across every run, in append order. Live: reflects appends as they happen. */ readonly events: readonly RunEvent[]; } /** * In-memory `RunStore`. Used as the backing store for the fake `HostPort` in engine tests * (no filesystem, no PI, no network) — see test/helpers.ts. */ export declare function createMemoryStore(): MemoryStore; //# sourceMappingURL=memory-store.d.ts.map