rdesign/frontend/node_modules/@copilotkitnext/react/dist/index.d.mts

51 lines
6.6 KiB
TypeScript

import { AudioRecorderError, AudioRecorderState, CopilotChatAudioRecorder } from "./components/chat/CopilotChatAudioRecorder.mjs";
import { CopilotChatConfigurationProvider, CopilotChatConfigurationProviderProps, CopilotChatConfigurationValue, CopilotChatLabels, useCopilotChatConfiguration } from "./providers/CopilotChatConfigurationProvider.mjs";
import { CopilotChatInput, CopilotChatInputProps, ToolsMenuItem } from "./components/chat/CopilotChatInput.mjs";
import { CopilotChatToolCallsView, CopilotChatToolCallsViewProps } from "./components/chat/CopilotChatToolCallsView.mjs";
import { CopilotChatAssistantMessage, CopilotChatAssistantMessageProps } from "./components/chat/CopilotChatAssistantMessage.mjs";
import { CopilotChatUserMessage, CopilotChatUserMessageProps } from "./components/chat/CopilotChatUserMessage.mjs";
import { CopilotChatReasoningMessage, CopilotChatReasoningMessageProps } from "./components/chat/CopilotChatReasoningMessage.mjs";
import { CopilotChatSuggestionPill, CopilotChatSuggestionPillProps } from "./components/chat/CopilotChatSuggestionPill.mjs";
import { CopilotChatSuggestionView, CopilotChatSuggestionViewProps } from "./components/chat/CopilotChatSuggestionView.mjs";
import { CopilotChatMessageView, CopilotChatMessageViewProps } from "./components/chat/CopilotChatMessageView.mjs";
import { CopilotChatView, CopilotChatViewProps } from "./components/chat/CopilotChatView.mjs";
import { CopilotChat, CopilotChatProps } from "./components/chat/CopilotChat.mjs";
import { CopilotChatToggleButton, CopilotChatToggleButtonProps, DefaultCloseIcon, DefaultOpenIcon } from "./components/chat/CopilotChatToggleButton.mjs";
import { CopilotModalHeader, CopilotModalHeaderProps } from "./components/chat/CopilotModalHeader.mjs";
import { CopilotSidebarView, CopilotSidebarViewProps } from "./components/chat/CopilotSidebarView.mjs";
import { CopilotPopupView, CopilotPopupViewProps } from "./components/chat/CopilotPopupView.mjs";
import { CopilotSidebar, CopilotSidebarProps } from "./components/chat/CopilotSidebar.mjs";
import { CopilotPopup, CopilotPopupProps } from "./components/chat/CopilotPopup.mjs";
import { WildcardToolCallRender } from "./components/WildcardToolCallRender.mjs";
import { CopilotKitInspector, CopilotKitInspectorProps } from "./components/CopilotKitInspector.mjs";
import { MCPAppsActivityContent, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType } from "./components/MCPAppsActivityRenderer.mjs";
import "./components/index.mjs";
import { useRenderToolCall } from "./hooks/use-render-tool-call.mjs";
import { ReactCustomMessageRenderer, ReactCustomMessageRendererPosition } from "./types/react-custom-message-renderer.mjs";
import { useRenderCustomMessages } from "./hooks/use-render-custom-messages.mjs";
import { ReactToolCallRenderer } from "./types/react-tool-call-renderer.mjs";
import { ReactActivityMessageRenderer } from "./types/react-activity-message-renderer.mjs";
import { ReactFrontendTool } from "./types/frontend-tool.mjs";
import { ReactHumanInTheLoop } from "./types/human-in-the-loop.mjs";
import { defineToolCallRenderer } from "./types/defineToolCallRenderer.mjs";
import { InterruptEvent, InterruptHandlerProps, InterruptRenderProps } from "./types/interrupt.mjs";
import "./types/index.mjs";
import { useRenderActivityMessage } from "./hooks/use-render-activity-message.mjs";
import { useFrontendTool } from "./hooks/use-frontend-tool.mjs";
import { useComponent } from "./hooks/use-component.mjs";
import { useRenderTool } from "./hooks/use-render-tool.mjs";
import { useDefaultRenderTool } from "./hooks/use-default-render-tool.mjs";
import { useHumanInTheLoop } from "./hooks/use-human-in-the-loop.mjs";
import { UseAgentUpdate, useAgent } from "./hooks/use-agent.mjs";
import { AgentContextInput, JsonSerializable, useAgentContext } from "./hooks/use-agent-context.mjs";
import { useSuggestions } from "./hooks/use-suggestions.mjs";
import { useConfigureSuggestions } from "./hooks/use-configure-suggestions.mjs";
import { UseInterruptConfig, useInterrupt } from "./hooks/use-interrupt.mjs";
import "./hooks/index.mjs";
import { CopilotKitCoreReact, CopilotKitCoreReactConfig, CopilotKitCoreReactSubscriber } from "./lib/react-core.mjs";
import { CopilotKitContextValue, CopilotKitProvider, CopilotKitProviderProps, useCopilotKit } from "./providers/CopilotKitProvider.mjs";
import "./providers/index.mjs";
import { A2UIMessageRendererOptions, createA2UIMessageRenderer } from "./a2ui/A2UIMessageRenderer.mjs";
import { Theme as A2UITheme } from "@copilotkit/a2ui-renderer";
export * from "@ag-ui/client";
export { type A2UIMessageRendererOptions, type A2UITheme, AgentContextInput, AudioRecorderError, AudioRecorderState, CopilotChat, CopilotChatAssistantMessage, CopilotChatAssistantMessageProps, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, CopilotChatConfigurationProviderProps, CopilotChatConfigurationValue, CopilotChatInput, CopilotChatInputProps, CopilotChatLabels, CopilotChatMessageView, CopilotChatMessageViewProps, CopilotChatProps, CopilotChatReasoningMessage, CopilotChatReasoningMessageProps, CopilotChatSuggestionPill, CopilotChatSuggestionPillProps, CopilotChatSuggestionView, CopilotChatSuggestionViewProps, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, CopilotChatToggleButtonProps, CopilotChatToolCallsView, CopilotChatToolCallsViewProps, CopilotChatUserMessage, CopilotChatUserMessageProps, CopilotChatView, CopilotChatViewProps, CopilotKitContextValue, CopilotKitCoreReact, CopilotKitCoreReactConfig, CopilotKitCoreReactSubscriber, CopilotKitInspector, CopilotKitInspectorProps, CopilotKitProvider, CopilotKitProviderProps, CopilotModalHeader, CopilotModalHeaderProps, CopilotPopup, CopilotPopupProps, CopilotPopupView, CopilotPopupViewProps, CopilotSidebar, CopilotSidebarProps, CopilotSidebarView, CopilotSidebarViewProps, InterruptEvent, InterruptHandlerProps, InterruptRenderProps, JsonSerializable, MCPAppsActivityContent, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, ReactActivityMessageRenderer, ReactCustomMessageRenderer, ReactCustomMessageRendererPosition, ReactFrontendTool, ReactHumanInTheLoop, ReactToolCallRenderer, ToolsMenuItem, UseAgentUpdate, UseInterruptConfig, WildcardToolCallRender, createA2UIMessageRenderer, defineToolCallRenderer, useAgent, useAgentContext, useComponent, useConfigureSuggestions, useCopilotChatConfiguration, useCopilotKit, useDefaultRenderTool, useFrontendTool, useHumanInTheLoop, useInterrupt, useRenderActivityMessage, useRenderCustomMessages, useRenderTool, useRenderToolCall, useSuggestions };