import type { TurnProjection } from "../../schemas/projection"; export interface RawHistoryEntry { id?: string; kind?: string; loop_name?: string; message?: Record; source?: Record; data?: Record; timestamp?: string; [key: string]: unknown; } /** Rebuild completed UI turns from raw persisted history entries. */ export declare function projectHistory(entries: RawHistoryEntry[]): TurnProjection[];