import type { TuiToolContentBlock } from './tui-tool-result.js'; export type ToolSummaryKind = 'read' | 'search' | 'exec' | 'generic'; export interface ToolSummaryContext { toolName: string; args: unknown; output: string; content?: TuiToolContentBlock[]; details: unknown; isError: boolean; expandKey: string; } export declare function formatArgsSummary(args: unknown, toolName: string): string; export declare function getToolSummaryKind(toolName: string): ToolSummaryKind; export declare function isReadStyleTool(toolName: string): boolean; export declare function isSearchStyleTool(toolName: string): boolean; export declare function isExecStyleTool(toolName: string): boolean; export declare function displayToolName(toolName: string): string; export declare function compactPath(path: string, maxLength?: number): string; export declare function formatCollapsedToolSummary(ctx: ToolSummaryContext): string; export declare function formatExecExpandedOutput(output: string, details: unknown): string; export declare function extractExitCode(details: unknown): number | undefined;