import React from 'react'; import { ToolCall } from '.'; interface ToolImageProps { tool: ToolCall; prefixCls: string; hashId: string; /** * 是否禁用动画。 * * 注:图标旋转动画完全由 CSS 驱动(参见 ToolUseBar/style.ts 中 * `&-tool-image-wrapper-loading` + `@keyframes toolUseBarSpin`), * 此处保留参数仅用于与同级子组件保持 API 形状一致,避免父组件 * `BarItem/index.tsx` 在解构传递时编译报错。 */ disableAnimation?: boolean; } export declare const ToolImage: React.NamedExoticComponent; interface ToolHeaderRightProps { tool: ToolCall; prefixCls: string; hashId: string; light: boolean; disableAnimation?: boolean; } export declare const ToolHeaderRight: React.NamedExoticComponent; interface ToolTimeProps { tool: ToolCall; prefixCls: string; hashId: string; } export declare const ToolTime: React.NamedExoticComponent; interface ToolExpandProps { showContent: boolean; expanded: boolean; prefixCls: string; hashId: string; onExpandClick: (e: React.MouseEvent) => void; disableAnimation?: boolean; } export declare const ToolExpand: React.NamedExoticComponent; interface ToolContentProps { tool: ToolCall; prefixCls: string; hashId: string; light: boolean; showContent: boolean; expanded: boolean; disableAnimation?: boolean; } export declare const ToolContent: React.NamedExoticComponent; export {};