/** THE READS LOG — what the tool calls of this conversation answered, and nothing else. * Every answer lands whole and OPAQUE, keyed by (tool, canonical args key) and stamped * with the moment it arrived on the injected clock. The engine never walks an answer's * shape: a condition reads it with its author's own knowledge of the surface, and the * engine walks only declared paths. * * A row answers for its validity and no longer: a record read ten minutes ago is a * record somebody else may have moved, so past `validForMs` the row is UNREAD — absent, * not stale-but-present. Reading again replaces the row and restarts its life. */ import type { Json } from '../contract/vocabulary.js'; /** Five minutes: long enough for a desk to read, decide and act inside one turn. */ export declare const DEFAULT_READ_VALID_FOR_MS: number; export declare class ReadsLog { private readonly now; private readonly validForMs; private readonly rows; constructor(now: () => number, validForMs?: number); record(tool: string, argsKey: string, answer: Json): void; /** The last valid answer of this read — null = unread, or past its life. With no * args key, the newest valid answer across every key the tool was called with. */ latest(tool: string, argsKey?: string): { readonly answer: Json; readonly at: number; } | null; /** Every read with a valid answer, newest per (tool, args key) — the tail's view. */ entries(): readonly { tool: string; argsKey: string; answer: Json; at: number; }[]; } //# sourceMappingURL=reads-log.d.ts.map