import { default as React } from 'react'; import { ThoughtNode, ThoughtChainRenderMode } from '../thought_chain_types'; export interface ThoughtChainContainerProps { /** 所有需要展示的思维链节点 */ nodes: ThoughtNode[]; /** 渲染模式:实时 / 历史 */ mode?: ThoughtChainRenderMode; /** 对话级别状态码,可选,用于整体标题展示 */ status?: number; /** * 是否仅展示「模型思考」节点且不展示时间轴 * 2026-01-06 新增:用于兼容 enableCot = 0 的老数据,只渲染 businessType === "think" 的内容。 */ simpleThinkOnly?: boolean; /** * 思维链总耗时(毫秒),从后端 SSE 流中的 chainRespTime 字段获取 * 2026-01-08 新增:用于在头部显示总用时,优先使用此字段。 */ chainRespTime?: number; } declare const ThoughtChainContainer: React.FC; export default ThoughtChainContainer;