import { AbstractAgent } from "@ag-ui/client"; import { ActivityMessage } from "@ag-ui/core"; import { StandardSchemaV1 } from "@copilotkitnext/shared"; //#region src/types/react-activity-message-renderer.d.ts interface ReactActivityMessageRenderer { /** * Activity type to match when rendering. Use "*" as a wildcard renderer. */ activityType: string; /** * Optional agent ID to scope the renderer to a particular agent. */ agentId?: string; /** * Schema describing the activity content payload. */ content: StandardSchemaV1; /** * React component invoked to render the activity message. */ render: React.ComponentType<{ activityType: string; content: TActivityContent; message: ActivityMessage; agent: AbstractAgent | undefined; }>; } //#endregion export { ReactActivityMessageRenderer }; //# sourceMappingURL=react-activity-message-renderer.d.cts.map