import { AnyToolDefinition, ToolCall } from '../types/index.js'; /** * Whether a tool call's renderer should currently be shown: once the call is complete, * or immediately (while still parsing/executing) if the tool opted into `renderOnStart`. * A `rendererOnly` tool also keeps its renderer shown when the call errors or is cancelled, since nothing else reports either. */ export declare function shouldShowToolRenderer(toolCall: ToolCall, toolDefinition?: AnyToolDefinition): boolean; /** * Whether a tool call should be treated as settled for activity indicators (thinking * indicator, tool-call summary spinner): either genuinely finished, or already showing * its own renderer to the user, which makes a redundant "running" spinner misleading. */ export declare function isToolCallSettled(toolCall: ToolCall, toolDefinition?: AnyToolDefinition): boolean;