import { type RunEvent, type RunEventType } from "@claudexor/schema"; /** * Run events whose copy the owning global/project journal partition keeps * durably: the lifecycle-significant subset (run announced, a question asked * or resolved, output ready, terminal). Per-token `harness.event` deltas and * every other progress event reach only the per-run `events.jsonl` and the * in-process bus. Consumers of the journaled copy: the daemon's durable * terminal recovery (terminal types only) and the global journal stream, whose * macOS client reacts to `run.created`, `interaction.requested` and terminals. */ export declare const JOURNALED_RUN_EVENT_TYPES: ReadonlySet; /** * Audit rows the control API may append AFTER a run's terminal event without * conflicting with terminal authority: the cancel audit (`control.*`) and the * live-message receipts (`message.*`). A receipt that lands after terminal * commit is file-tail-stamped into events.jsonl (durable; visible on the next * timeline read; only the live SSE push is missed). Consumed by the * CommandStore's per-run log validator. */ export declare const POST_TERMINAL_AUDIT_EVENT_TYPES: ReadonlySet; export declare function isJournaledRunEvent(event: Pick): boolean; /** * The journal copy of `run.created` carries the prompt's sha256 and byte * length instead of the prompt text (the accepted command already holds the * prompt; the per-run `events.jsonl` keeps it too). The copy of a live-message * receipt (`message.*`) drops the message `text` the same way: its digest * fields (`text_sha256`, `text_bytes`) already ride the row, and the plaintext * lives only in the per-run `events.jsonl`. Every other journaled event is * stored exactly as emitted. */ export declare function journaledRunEventCopy(event: RunEvent): RunEvent; //# sourceMappingURL=journaled-run-events.d.ts.map