import type { Segment } from "./transcript-turns.js"; type Message = { readonly role: "user" | "assistant"; readonly content: string; readonly segments?: readonly Segment[]; }; type TurnBodyParams = { readonly sessionId: string; readonly nextUserMessageIndex: number | string; readonly messages?: readonly Message[]; readonly prompt?: string; readonly priorAssistant?: string | null; readonly additionalContext?: Record; readonly hookEvent?: "UserPromptSubmit" | "Stop"; }; declare const buildTurnBody: (params: TurnBodyParams) => Record; export { buildTurnBody };