import React from 'react'; import { cnLabels } from '../I18n/locales'; import { ThoughtChainListProps } from '../ThoughtChainList/types'; import { BubbleProps } from './type'; export type ChatConfigType = { agentId?: string; sessionId?: string; standalone: boolean; clientIdRef?: React.MutableRefObject; thoughtChain?: { enable?: boolean; alwaysRender?: boolean; render?: (bubble: BubbleProps>, taskList: string) => React.ReactNode; } & ThoughtChainListProps; tracert?: { /** * 是否开启 */ enable: boolean; }; locale: Partial; bubble?: BubbleProps<{ /** * 聊天内容 */ content: string; /** * 聊天项的唯一标识 */ uuid: number; }>; compact?: boolean; }; export declare const BubbleConfigContext: React.Context;