import type { RunRenderer } from "@copilotkit/channels-core"; /** * Build a {@link RunRenderer} for a single agent run in Teams. * * Each AG-UI text message is **streamed by message edit**: on the first content * delta we post a Teams message (after a typing indicator), then `updateActivity` * it as the text grows (throttled), and finalize on message-end. This is Teams' * baseline streaming model (see {@link TeamsMessageStream}). Tool calls and * interrupts are captured for the run-loop to read after `runAgent` resolves, * exactly as the Slack adapter does. */ export declare function createRunRenderer(args: { /** First send for a streamed message. Returns the posted activity id. */ post: (text: string) => Promise; /** Edit a previously-posted streamed message. */ update: (id: string, text: string) => Promise; /** Send the final edit through a priority transport lane. */ finalize?: (id: string, text: string) => Promise; /** Optional typing indicator, fired once before a message's first post. */ typing?: () => Promise; interruptEventNames?: ReadonlySet; /** Persist the agent's reply text to the conversation transcript. */ recordAssistant?: (text: string) => void; }): RunRenderer; //# sourceMappingURL=event-renderer.d.ts.map