import React from 'react'; import { ThoughtChainListProps } from './types'; export type { Chunk, DocMeta, ThoughtChainListProps, WhiteBoxProcessInterface, } from './types'; /** * ThoughtChainList 组件 - 思维链列表组件 * * 该组件用于显示AI的思维链过程,包括思考步骤、工具调用、任务执行等。 * 提供完整的思维链可视化功能,支持折叠/展开、状态显示、文档元数据等。 * * @component * @description 思维链列表组件,显示AI思维过程 * @param {ThoughtChainListProps} props - 组件属性 * @param {WhiteBoxProcessInterface[]} props.thoughtChainList - 思维链列表数据 * @param {boolean} [props.loading] - 是否显示加载状态 * @param {BubbleProps} [props.bubble] - 气泡数据 * @param {React.CSSProperties} [props.style] - 自定义样式 * @param {boolean} [props.compact] - 是否使用紧凑模式 * @param {MarkdownRenderConfig} [props.markdownRenderProps] - Markdown渲染配置 * @param {boolean} [props.finishAutoCollapse=true] - 完成后是否自动折叠 * @param {(meta: DocMeta | null) => void} [props.onDocMetaClick] - 文档元数据点击回调 * @param {string} [props.className] - 自定义CSS类名 * @param {Function} [props.titleRender] - 标题渲染函数 * @param {Function} [props.extraRender] - 额外内容渲染函数 * * @example * ```tsx * console.log('文档元数据:', meta)} * /> * ``` * * @returns {React.ReactElement} 渲染的思维链列表组件 * * @remarks * - 显示AI思维链过程 * - 支持思维链折叠/展开 * - 提供状态显示(思考中、完成、中止等) * - 支持文档元数据显示 * - 提供时间统计 * - 支持自定义渲染 * - 提供动画效果 * - 支持国际化 */ export declare const ThoughtChainList: React.FC;