import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react'; import { CollapsibleRootProps, CollapsiblePanelProps } from '@base-ui/react'; import { ToolUIPart } from '../../../../lib/ai/types'; import { CollapsibleTrigger } from '../collapsible/collapsible'; declare const Tool: ForwardRefExoticComponent & RefAttributes>; type ToolHeaderProps = Omit, 'type'> & { title?: string; type: ToolUIPart['type']; hasError?: boolean; }; declare const ToolHeader: ForwardRefExoticComponent & RefAttributes>; declare const ToolContent: ForwardRefExoticComponent & RefAttributes>; type ToolInputProps = ComponentProps<'div'> & { input: ToolUIPart['input']; }; declare const ToolInput: ForwardRefExoticComponent & RefAttributes>; type ToolOutputProps = ComponentProps<'div'> & { output: ToolUIPart['output']; errorText: ToolUIPart['errorText']; }; declare const ToolOutput: ForwardRefExoticComponent & RefAttributes>; export { Tool, ToolHeader, ToolContent, ToolInput, ToolOutput };