import React from "react"; import { FrontendTool, ToolCallStatus } from "@copilotkitnext/core"; //#region src/types/human-in-the-loop.d.ts type ReactHumanInTheLoop = Record> = Omit, "handler"> & { render: React.ComponentType<{ name: string; description: string; args: Partial; status: ToolCallStatus.InProgress; result: undefined; respond: undefined; } | { name: string; description: string; args: T; status: ToolCallStatus.Executing; result: undefined; respond: (result: unknown) => Promise; } | { name: string; description: string; args: T; status: ToolCallStatus.Complete; result: string; respond: undefined; }>; }; //#endregion export { ReactHumanInTheLoop }; //# sourceMappingURL=human-in-the-loop.d.mts.map