import type { RunRenderer } from "@copilotkit/channels-core"; export interface RunRendererArgs { /** Send a finished text message to the conversation (the adapter wires the Cloud API client). */ send: (text: string) => Promise; /** Persist the assistant's final text to the HistoryStore. */ onAssistantText?: (text: string) => void; /** Custom-event names treated as interrupts. Defaults to {"on_interrupt"}. */ interruptEventNames?: ReadonlySet; } /** * Buffered run renderer for WhatsApp. Unlike Slack's streaming renderer, this * accumulates text deltas and sends the full message only on TEXT_MESSAGE_END * (WhatsApp messages are immutable — there is no chat.update). Tool-call and * interrupt capture mirror the Slack renderer so the engine's run-loop reads * them identically. */ export declare function createRunRenderer(args: RunRendererArgs): RunRenderer; //# sourceMappingURL=event-renderer.d.ts.map