@assistant-ui/react
Version:
React components for AI chat.
11 lines • 685 B
TypeScript
import type { ToolCallContentPartComponent } from "../../types/ContentPartComponentTypes";
import { Unsubscribe } from "../../types";
export type AssistantToolUIsState = Readonly<{
getToolUI: (toolName: string) => ToolCallContentPartComponent | null;
setToolUI: (toolName: string, render: ToolCallContentPartComponent) => Unsubscribe;
}>;
export declare const makeAssistantToolUIsStore: () => import("zustand").UseBoundStore<import("zustand").StoreApi<Readonly<{
getToolUI: (toolName: string) => ToolCallContentPartComponent | null;
setToolUI: (toolName: string, render: ToolCallContentPartComponent) => Unsubscribe;
}>>>;
//# sourceMappingURL=AssistantToolUIs.d.ts.map