import { ToolCallStatus } from "@copilotkitnext/core"; import { StandardSchemaV1 } from "@copilotkitnext/shared"; //#region src/types/react-tool-call-renderer.d.ts interface ReactToolCallRenderer { name: string; args: StandardSchemaV1; /** * Optional agent ID to constrain this tool renderer to a specific agent. * If specified, this renderer will only be used for the specified agent. */ agentId?: string; render: React.ComponentType<{ name: string; args: Partial; status: ToolCallStatus.InProgress; result: undefined; } | { name: string; args: T; status: ToolCallStatus.Executing; result: undefined; } | { name: string; args: T; status: ToolCallStatus.Complete; result: string; }>; } //#endregion export { ReactToolCallRenderer }; //# sourceMappingURL=react-tool-call-renderer.d.cts.map