import type { KlawConfig } from "../../config/types.klaw.js"; export type GatewayInjectedAbortMeta = { aborted: true; origin: "rpc" | "stop-command"; runId: string; }; export type GatewayInjectedTranscriptAppendResult = { ok: boolean; messageId?: string; message?: Record; error?: string; }; export type GatewayInjectedTtsSupplementMarker = { textSha256: string; }; export declare function appendInjectedAssistantMessageToTranscript(params: { transcriptPath: string; message: string; label?: string; /** When set, used as the assistant `content` array (e.g. text + embedded audio blocks). */ content?: Array>; idempotencyKey?: string; abortMeta?: GatewayInjectedAbortMeta; ttsSupplement?: GatewayInjectedTtsSupplementMarker; now?: number; config?: KlawConfig; }): Promise;