import type { ChannelNode } from "@copilotkit/channels-ui"; /** Teams attachment content type for an Adaptive Card. */ export declare const ADAPTIVE_CARD_CONTENT_TYPE = "application/vnd.microsoft.card.adaptive"; /** A minimally-typed Adaptive Card (1.5). Elements/actions are open bags: the * schema is large and we only emit a curated subset. */ export interface AdaptiveCard { type: "AdaptiveCard"; $schema: string; version: string; body: CardElement[]; actions?: CardAction[]; } type CardElement = Record; type CardAction = Record; /** * Render a cross-platform component IR tree (already expanded by `renderToIR` * and pre-bound by the action registry, so event props are `{ id }`) into a * Teams **Adaptive Card** (1.5). * * Structural nodes map to body elements (`
`→bold `TextBlock`, * `
`/``→wrapped `TextBlock`, ``→`FactSet`, * ``→native `Table`, ``→`Image`). Interactive nodes split by * Adaptive Card shape: `