import type { EngineContentPart, EngineMessage } from "./engine/types.js"; import { type ToolCallJournal } from "./tool-call-journal.js"; import type { AgentChatEvent, AgentChatSteeredUserMessage } from "./types.js"; /** Reaper recovery uses ledger events because a hard kill cannot save thread history. */ export declare function buildTurnResumeContext(options: { messages: EngineMessage[]; journal: ToolCallJournal | null; } & ({ events: AgentChatEvent[]; /** The content the run delivered a Send now message as, attachments included. */ steeredUserContent: (message: AgentChatSteeredUserMessage) => EngineContentPart[]; } | { events?: undefined; })): { messages: EngineMessage[]; journalNote: string | null; };