import type { RunTiming, TurnProjection } from "../../schemas/projection"; import type { RawHistoryEntry } from "./history"; export declare function readChatRun(payload: Record, ended?: boolean): RunTiming | null; /** Detached run annotations are shared by every root response in their interval. * Ignore unreachable branch anchors; the last annotation for a run settles it. */ export declare function applyHistoryChatRuns(turns: TurnProjection[], entries: RawHistoryEntry[], aliases: Map): void;