/** * Internal `_meta` channel used by the dynamic render tools (`component_render`, * `component_show`, `widget_show`) to hand a render descriptor to the broker capture in * `mcp-server.ts`. The handler runs in-process, so the capture reads the * descriptor off the result directly — it never depends on the agent SDK * round-tripping `_meta` (the T3 broker-capture principle). */ /** `_meta` key carrying a {@link WidgetRenderDescriptor}. */ export declare const WIDGET_RENDER_META_KEY: string; /** Self-contained description of a widget to render into the session stream. */ export interface WidgetRenderDescriptor { /** Renderer to use (v1: `"mcp-app-html"`). */ rendererKind: string; /** Widget body (HTML for `mcp-app-html`). */ body: string; /** Render-time data passed to the widget via the AppBridge. */ props?: Record; /** Allow inline `