/**
 * @ant-design/agentic-ui 公共 API 入口
 *
 * 导出规则：
 *   1. 每个组件仅通过其 index 导出，不深入引用内部子模块
 *   2. 需要向外暴露的内部工具 / 类型，先在各组件 index 中 re-export，再由此处统一引用
 *   3. 第三方类型不直接 re-export，使用自定义类型包装
 *   4. 按功能分区，便于维护
 *   5. 使用具名导出替代 export * from，便于 bundler tree-shaking
 */ // ─── Slate 类型 re-export（唯一的第三方类型例外） ───────────────────────────
// ─── 布局组件 ────────────────────────────────────────────────────────────────
export { AgenticLayout } from "./AgenticLayout";
export { File, FileTree, PreviewComponent, default as Workspace, getFileType, getFileTypeIcon, getFileTypeName, getGroupIcon } from "./Workspace";
// ─── 聊天气泡 ────────────────────────────────────────────────────────────────
export { AIBubble, Bubble, BubbleConfigContext, MessagesContext, PureAIBubble, PureBubble, PureBubbleList, PureUserBubble, SchemaEditorBridgeManager, UserBubble, mapOllamaMessagesToMessageBubbleData, mapOpenAIMessagesToMessageBubbleData, mapOpenClawMessagesToMessageBubbleData, normalizeOllamaMessageToOpenAI, normalizeOllamaMessagesToOpenAI, normalizeOpenClawMessageToOpenAI, normalizeOpenClawMessagesToOpenAI, runRender, useOllamaMessageBubbleData, useOpenAIMessageBubbleData, useOpenClawMessageBubbleData, useSchemaEditorBridge } from "./Bubble";
export { BubbleList } from "./Bubble/List";
// ─── 聊天启动页 ──────────────────────────────────────────────────────────────
export { ButtonTab, ButtonTabGroup, CaseReply, Title } from "./ChatBootPage";
export { ChatFlowHeader, ChatLayout } from "./ChatLayout";
// ─── 思维链 / 工具调用 ──────────────────────────────────────────────────────
export { ThoughtChainList } from "./ThoughtChainList";
export { ToolUseBar, ToolUseBarItem } from "./ToolUseBar";
export { ToolUseBarThink } from "./ToolUseBarThink";
// ─── 任务相关 ────────────────────────────────────────────────────────────────
export { AGENT_RUN_BAR_TEST_ID, AgentRunBar, TASK_RUNNING_STATUS, TASK_STATUS, /** @deprecated 请使用 `AgentRunBar` */ TaskRunning, TaskRunningStatusList, TaskStatusList } from "./AgentRunBar";
export { TaskList } from "./TaskList";
// ─── 历史记录 ────────────────────────────────────────────────────────────────
export { History, HistoryActionsBox, HistoryEmpty, HistoryItem, HistoryLoadMore, HistoryNewChat, HistoryRunningIcon, HistorySearch, TaskStatusData, formatTime, generateHistoryItems, groupByCategory, useHistory } from "./History";
// ─── Markdown 渲染器（流式/只读轻量渲染，无 Slate 依赖） ─────────────────────
export { AgenticUiFileMapBlockRenderer, AgenticUiTaskBlockRenderer, AgenticUiToolUseBarBlockRenderer, AnimationText, CharacterQueue, ChartBlockRenderer, CodeBlockRenderer, MarkdownRenderer, MermaidBlockRenderer, SchemaBlockRenderer, markdownToReactSync, useMarkdownToReact, useStreaming, useStreamingMarkdownReact } from "./MarkdownRenderer";
// ─── Markdown 编辑器 ─────────────────────────────────────────────────────────
export { BaseMarkdownEditor, Blockquote, Break, Code, EditorUtils, Head, Hr, InlineKatex, Katex, KeyboardTask, List, ListItem, MARKDOWN_EDITOR_EVENTS, MElement, MLeaf, MarkdownEditor, Media, Mermaid, Paragraph, ReadonlyBlockquote, ReadonlyBreak, ReadonlyCard, ReadonlyCode, ReadonlyEditorImage, ReadonlyFootnoteDefinition, ReadonlyFootnoteReference, ReadonlyHead, ReadonlyHr, ReadonlyInlineKatex, ReadonlyKatex, ReadonlyLinkCard, ReadonlyList, ReadonlyListItem, ReadonlyMarkdownEditorView, ReadonlyMedia, ReadonlyMermaid, ReadonlyParagraph, ReadonlySchema, ReadonlyTableComponent, Schema, calcPath, convertRemoteImages, copy, createDomRangeFromNodes, createSelectionFromNodes, debounce, download, dragStart, escapeRegExp, findByPathAndText, findLeafPath, getDefaultView, getPointStrOffset, getRelativePath, getRemoteMediaType, getSelectionFromDomSelection, hasEditableTarget, hasTarget, isDOMNode, isEventHandled, isLink, isMarkdown, isMix, isMod, isPath, isTargetInsideVoid, modal$, nid, normalizeMarkdownSearchText, parsePath, parserMdToSchema, parserSlateNodeToMarkdown, sanitizeEditorChromeStyle, toUnixPath, useDebounce, useGetSetState, useLocalState, useSystemKeyboard } from "./MarkdownEditor";
export { useSelStatus } from "./MarkdownEditor/hooks/editor";
export { PluginContext } from "./MarkdownEditor/plugin";
export { createJinjaPlugin, jinjaPlugin } from "./MarkdownEditor/plugins/jinja";
// MarkdownEditor 内部工具（保持向后兼容，后续版本考虑收敛）
export { AvatarList, CommentList, ContributorAvatar, LazyElement, TextStyleTag } from "./MarkdownEditor/editor/components/index";
export { SlateTable } from "./MarkdownEditor/editor/elements/Table/Table";
export { TablePropsContext, TablePropsProvider } from "./MarkdownEditor/editor/elements/Table/TableContext";
export { partialParse } from "./MarkdownEditor/editor/parser/json-parse";
export { MarkdownToSlateParser, clearParseCache, parserMarkdownToSlateNode, simpleHash } from "./MarkdownEditor/editor/parser/parserMarkdownToSlateNode";
export { isMix as isMixDirect, parserSlateNodeToMarkdown as parserSlateNodeToMarkdownDirect } from "./MarkdownEditor/editor/parser/parserSlateNodeToMarkdown";
export { EditorStore, EditorStoreContext, useEditorStore } from "./MarkdownEditor/editor/store";
export { TEXT_TAGS, docxDeserializer, extractTagsFromHtml, imagePastingListener, makeDeserializer } from "./MarkdownEditor/editor/utils/docx/index";
export { batchHtmlToMarkdown, cleanHtml, extractTextFromHtml, htmlToMarkdown, isHtml } from "./MarkdownEditor/editor/utils/htmlToMarkdown";
export { DEFAULT_MARKDOWN_REMARK_PLUGINS, REMARK_REHYPE_DIRECTIVE_HANDLERS, escapeHtml, markdownToHtml, markdownToHtmlSync } from "./MarkdownEditor/editor/utils/markdownToHtml";
export { NativeTableEditor } from "./MarkdownEditor/utils/native-table/native-table-editor";
// ─── Markdown 输入框 ─────────────────────────────────────────────────────────
export { AttachmentButton, AttachmentButtonPopover, AttachmentSupportedFormatsContent, SupportedFileFormats, upLoadFileToServer } from "./MarkdownInputField/AttachmentButton";
export { AttachmentFileList } from "./MarkdownInputField/AttachmentButton/AttachmentFileList";
export { AttachmentFileListItem } from "./MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem";
export { getDeviceBrand, isAttachmentFileLoading, isFileMetaPlaceholderState, isImageFile, isMediaFile, isMobileDevice, isOppoDevice, isVideoFile, isVivoDevice, isVivoOrOppoDevice, isWeChat, kbToSize } from "./MarkdownInputField/AttachmentButton/utils";
export { ActionItemContainer } from "./MarkdownInputField/BeforeToolContainer/BeforeToolContainer";
export { FileMapView } from "./MarkdownInputField/FileMapView";
export { MarkdownInputField } from "./MarkdownInputField/MarkdownInputField";
export { MARKDOWN_INPUT_FIELD_TEST_IDS } from "./MarkdownInputField/testIds";
export { VoiceInputButton } from "./MarkdownInputField/VoiceInput";
// ─── Schema ──────────────────────────────────────────────────────────────────
export { SchemaEditor, SchemaForm, SchemaRenderer, SchemaValidator, TemplateEngine, validator } from "./Schema";
// ─── 插件 ────────────────────────────────────────────────────────────────────
export { Area, AreaChart, Bar, BarChart, BoxPlotChart, ChartAttrToolBar, ChartElement, ChartFilter, ChartRender, ChartStatistic, ChartToolBar, Column, DocCards, DocCardsDefaultFieldAliases, DonutChart, FunnelChart, HistogramChart, Line, LineChart, Pie, RadarChart, ScatterChart, chartDebounce, defaultColorList, downloadChart, formatDocCardsDisplayUrl, isDocCardsSafeHref, resolveDocCardsFields, splitDocCardsTags, stringFormatNumber } from "./Plugins/chart";
export { AceEditor, AceEditorContainer, CodeContainer, CodeRenderer, CodeToolbar, HtmlPreview, LanguageSelector, LoadImage, ThinkBlock, ThinkBlockProvider } from "./Plugins/code/components";
export { MarkdownFormatter } from "./Plugins/formatter";
export { MermaidElement } from "./Plugins/mermaid";
// ─── 基础 UI 组件 ────────────────────────────────────────────────────────────
export { AILabel } from "./AILabel";
export { AnswerAlert } from "./AnswerAlert";
export { BackTo } from "./BackTo";
export { Quote } from "./Quote";
export { WelcomeMessage } from "./WelcomeMessage";
// ─── 通用子组件 ──────────────────────────────────────────────────────────────
export { ActionIconBox } from "./Components/ActionIconBox";
export { ActionItemBox } from "./Components/ActionItemBox";
export { IconButton, SwitchButton, ToggleButton } from "./Components/Button";
export { GradientText } from "./Components/GradientText";
export { TextSwap } from "./Components/TextSwap";
export { LayoutHeader } from "./Components/LayoutHeader";
export { CreativeRecommendationLoading, CreativeSparkLoading, Loading } from "./Components/Loading";
export { CopyLottie, CreativeSparkLottie, DazingLottie, DislikeLottie, LikeLottie, LoadingLottie, MoreLottie, PlayLottie, QuoteLottie, RefreshLottie, ShareLottie, TextLoading, ThinkingLottie, ThreeThinkingLottie, useAsyncLottieData } from "./Components/lotties";
export { BlowingWindLottie, BouncingLottie, PeekLottie, default as Robot } from "./Components/Robot";
export { SuggestionList } from "./Components/SuggestionList";
export { TextAnimate, resolveSegments } from "./Components/TextAnimate";
export { TypingAnimation } from "./Components/TypingAnimation";
export { VisualList } from "./Components/VisualList";
// ─── Hooks ───────────────────────────────────────────────────────────────────
export { useAdaptiveTooltipProps } from "./Hooks/useAdaptiveTooltipProps";
export { useAutoScroll } from "./Hooks/useAutoScroll";
export { useLanguage } from "./Hooks/useLanguage";
export { useNativeTitleTooltipFallback } from "./Hooks/useNativeTitleTooltipFallback";
export { useRefFunction } from "./Hooks/useRefFunction";
export { resetComponent, useEditorStyleRegister } from "./Hooks/useStyle";
export { useThrottleFn } from "./Hooks/useThrottleFn";
export { adaptiveTooltipEnvironment, getAdaptiveTooltipProps, shouldUseInformationalTooltipClickTrigger } from "./Utils/adaptiveTooltip";
// ─── 国际化 ──────────────────────────────────────────────────────────────────
export { I18nContext, I18nProvide, cnLabels, compileTemplate, detectUserLanguage, enLabels, getLocaleByLanguage, saveUserLanguage, useLocale, useMergedLocale } from "./I18n";
// ─── 工具 / 沙箱 ────────────────────────────────────────────────────────────
export { DEFAULT_SANDBOX_CONFIG, DEFAULT_SECURITY_CONFIG, ProxySandbox, SandboxHealthChecker, SecurityContextManager, createConfiguredSandbox, createSandbox, createSecurityContextManager, quickExecute, runInSandbox, runInSecureContext, safeMathEval, sandboxHealthChecker } from "./Utils/proxySandbox";
// ─── 第三方 SDK re-export（向后兼容，后续版本考虑移除） ───────────────────────
/**
 * Schema Element Editor Chrome 插件底层 SDK
 * @description 原始 SDK 导出，一般用户无需直接使用
 * @deprecated @since 2.30.0 建议直接从 @schema-element-editor/host-sdk 导入
 */ export { createSchemaElementEditorBridge, useSchemaElementEditor } from "@schema-element-editor/host-sdk";
