import { BeforeCreateConversationExeCtx, ConversationUiCtrl, ConversationUiCtrlOptions, ConvoComponentRenderer, ConvoEditorMode, ConvoMarkdownEnableState, ConvoModule, ConvoRagRenderer, ConvoUiAppendTrigger } from '@convo-lang/convo-lang'; import { BaseLayoutProps } from '@iyio/common'; import { ConversationInputProps } from "./ConversationInput.js"; import { MessagesViewProps } from "./MessagesView.js"; import { SuggestionsViewProps } from './SuggestionsView.js'; import { ConversationInputChange } from "./convo-lang-react.js"; import { ConvoLangTheme } from "./convo-lang-theme.js"; export interface ConversationViewProps { className?: string; ctrl?: ConversationUiCtrl; getCtrl?: (ctrl: ConversationUiCtrl) => void; appendTrigger?: ConvoUiAppendTrigger; ctrlOptions?: ConversationUiCtrlOptions; content?: string; enabledSlashCommands?: boolean; renderInput?: (ctrl: ConversationUiCtrl) => any; ragRenderer?: ConvoRagRenderer; noInput?: boolean; inputProps?: ConversationInputProps; theme?: ConvoLangTheme | 'dark' | 'light'; showSource?: boolean; sourceMode?: ConvoEditorMode; showInputWithSource?: boolean; renderTarget?: string; redirectMessagesView?: (view: any) => void; min?: boolean; defaultVars?: Record; externFunctions?: Record any>; codeInputAutoScrollBehavior?: ScrollBehavior; messageBottomPadding?: string; httpEndpoint?: string; templatePrefix?: string; template?: string; beforeCreateExeCtx?: BeforeCreateConversationExeCtx | null | undefined; autoHeight?: boolean; suggestionsLocation?: 'inline' | 'before-input' | 'after-input'; messagesProps?: MessagesViewProps; suggestionProps?: SuggestionsViewProps & BaseLayoutProps; componentRenderers?: Record; enabledInitMessage?: boolean; onVarsChange?: (vars: Record) => void; enableMarkdown?: ConvoMarkdownEnableState; enableUserMarkdown?: boolean; markdownClassName?: string; /** * Modules to register with conversation. The value of modules is cached and must be refreshed * using the modulesRefreshKey for changes to be reflected */ modules?: ConvoModule[]; modulesRefreshKey?: string | number; imports?: string | string[]; onInputChange?: (change: ConversationInputChange) => void; } export declare function ConversationView({ className, ctrl: ctrlProp, getCtrl, ctrlOptions, content, enabledSlashCommands, renderInput, noInput, inputProps, theme: _theme, sourceMode: _sourceMode, showSource: _showSource, showInputWithSource, ragRenderer, renderTarget, redirectMessagesView, min, defaultVars, externFunctions, codeInputAutoScrollBehavior, messageBottomPadding, httpEndpoint, templatePrefix, template, appendTrigger, beforeCreateExeCtx, autoHeight, suggestionsLocation, messagesProps, suggestionProps, componentRenderers, enabledInitMessage, onVarsChange, enableMarkdown, markdownClassName, modules, modulesRefreshKey, imports, onInputChange, }: ConversationViewProps): import("react/jsx-runtime").JSX.Element;