import type { DurableJournal } from "@claudexor/journal"; import { type RunEvent } from "@claudexor/schema"; /** * One validated pass over a partition's journaled `run.event` records, shared * by the RunEventStore projection (validation) and the CommandStore's durable * terminal recovery. Every `run.event` is parsed exactly once per generation: * the index remembers the sequence it has seen and extends itself from there, * so later appends cost only the new records and a second consumer never * re-parses history. A validation failure leaves the index untouched, so the * next call reports the same failure instead of a phantom duplicate terminal. */ export declare function durableTerminalRunEvents(journal: DurableJournal): ReadonlyMap; //# sourceMappingURL=run-event-terminal-index.d.ts.map