/** * Rebuilding objects at a time from an event journal (doc 29 §7–8). Pure: entries in, state out. The journal itself * comes from a provider; the engine never stores history. */ import type { SpatialObject } from '../core/types.js'; /** The journal kinds the reconstruction understands; any other kind carrying an `object` counts as an update. */ interface Entry { at: string; objectId: string; kind: string; object?: SpatialObject; } /** Entries grouped by object, oldest first (stable for equal times). */ export declare function groupJournal(entries: E[]): Map; /** * One object's state at `atMs`: its last entry at or before that time. Absent (null) when it did not exist yet, * or its last entry says it was removed. `undefined` when the journal says nothing about it at all. */ export declare function journalStateAt(entries: E[] | undefined, atMs: number): SpatialObject | null | undefined; export {};