import '../../collapse'; import '../auto-scroll'; import '../../chat-loading'; import 'tdesign-icons-web-components/esm/components/check-circle'; import 'tdesign-icons-web-components/esm/components/close-circle'; import { Component } from 'omi'; import type { AIMessageContent, ChatMessageStatus } from '../../chat-engine'; import { CollapseValue } from '../../collapse'; import type { TdChatContentProps } from '../type'; type TdChatReasoningBaseProps = { key?: string; content?: AIMessageContent[]; status?: ChatMessageStatus; } & TdChatContentProps['reasoning']; export type TdChatReasoningProps = { defaultCollapsed?: boolean; onCollapsedChange?: (e: CustomEvent) => void; } & TdChatReasoningBaseProps; export interface IRenderReasoning extends TdChatReasoningBaseProps { onChange?: (e: CustomEvent) => void; } export declare const renderReasoning: ({ key, content, status, maxHeight, animation, collapsed, layout, onChange, }: IRenderReasoning) => JSX.Element; export default class ReasoningContentComponent extends Component { static css: any; static propTypes: { content: ArrayConstructor; status: StringConstructor; maxHeight: NumberConstructor; animation: StringConstructor; collapsed: BooleanConstructor; defaultCollapsed: BooleanConstructor; layout: StringConstructor; onCollapsedChange: FunctionConstructor; }; static defaultProps: Partial; pCollapsed: import("omi").SignalValue; get computedCollapsed(): any; ready(): void; onCollapsedChange: (e: CustomEvent) => void; render(props: TdChatReasoningProps): JSX.Element; } export {};