import * as react_jsx_runtime from 'react/jsx-runtime'; import React__default from 'react'; import { WindowProps, ButtonProps, HeaderProps } from './props.js'; import { AiChatProps } from './Chat.js'; import '@vn-sdk/shared'; import '../../types/suggestions.js'; import '@vn-sdk/react-core/dist/hooks/use-tree'; import '@vn-sdk/react-core/dist/ai-context-2768aadc'; import '@vn-sdk/react-core'; import '@vn-sdk/runtime-client-gql'; import './ChatContext.js'; interface AiModalProps extends AiChatProps { /** * Whether the chat window should be open by default. * @default false */ defaultOpen?: boolean; /** * If the chat window should close when the user clicks outside of it. * @default true */ clickOutsideToClose?: boolean; /** * If the chat window should close when the user hits the Escape key. * @default true */ hitEscapeToClose?: boolean; /** * The shortcut key to open the chat window. * Uses Command-[shortcut] on a Mac and Ctrl-[shortcut] on Windows. * @default '/' */ shortcut?: string; /** * A callback that gets called when the chat window opens or closes. */ onSetOpen?: (open: boolean) => void; /** * A custom Window component to use instead of the default. */ Window?: React__default.ComponentType; /** * A custom Button component to use instead of the default. */ Button?: React__default.ComponentType; /** * A custom Header component to use instead of the default. */ Header?: React__default.ComponentType; } declare const AiModal: ({ instructions, defaultOpen, clickOutsideToClose, hitEscapeToClose, onSetOpen, onSubmitMessage, onStopGeneration, onReloadMessages, shortcut, icons, labels, makeSystemMessage, onInProgress, Window, Button, Header, Messages, Input, AssistantMessage, UserMessage, onThumbsUp, onThumbsDown, onCopy, onRegenerate, markdownTagRenderers, className, children, observabilityHooks, ...props }: AiModalProps) => react_jsx_runtime.JSX.Element; export { AiModal, AiModalProps };