UNPKG

@copilotkit/a2ui-renderer

Version:

A2UI Renderer for CopilotKit - render A2UI surfaces in React applications

23 lines 681 B
//#region src/a2ui-types.d.ts /** * v0.9 A2UI type definitions for CopilotKit integration. */ /** Theme type - v0.9 themes are passed via createSurface message */ type Theme = Record<string, unknown>; /** * Client event message dispatched when a user interacts with an A2UI surface. * This is the format expected by A2UIMessageRenderer's handleAction. */ interface A2UIClientEventMessage { userAction?: { name: string; surfaceId: string; sourceComponentId?: string; context?: Record<string, unknown>; timestamp?: string; dataContextPath?: string; }; } //#endregion export { A2UIClientEventMessage, Theme }; //# sourceMappingURL=a2ui-types.d.cts.map