import { type ReactElement } from 'react'; import { Color } from '../../../utils/color/Color'; import type { WithTake } from '../../../utils/take/interfaces/ITakeChain'; import type { ChatMessage } from '../types/ChatMessage'; import type { ChatParticipant } from '../types/ChatParticipant'; /** * Options for rendering a tool call detail view. * * @private utility of `` */ type ToolCallDetailsOptions = { /** * Tool call to render. */ toolCall: NonNullable[number]; /** * Optional mapping of tool titles. */ toolTitles?: Record; /** * Agent participant metadata for avatar details. */ agentParticipant?: ChatParticipant; /** * Chat button color for fallback styling. */ buttonColor: WithTake; /** * Requests switching the modal into advanced technical mode. */ onRequestAdvancedView?: () => void; /** * Optional BCP-47 locale string used to format time labels. */ locale?: string; /** * Optional localized label overrides for the tool call modal UI. */ chatUiTranslations?: import('./ChatProps').ChatUiTranslations; }; /** * Renders the detail view for a single tool call. * * @param options - Rendering options for the tool call. * @returns Simple tool-call detail JSX. * * @private function of ChatToolCallModal */ export declare function renderToolCallDetails(options: ToolCallDetailsOptions): ReactElement; export {};