/** * toolCallSummary — compute a compact one-line summary of a tool invocation's * args, matched to what Claude Code puts inside the parenthesis of its * terminal header (`Read(src/foo.ts)`, `Bash(npm test)`, etc.). * * This is the *identity* of a tool call at a glance — the tool name alone is * not enough to distinguish three Reads in a row. Rendering this next to the * name in the collapsed card header is what makes a trace scannable without * expanding every entry. * * Kept as a pure string helper (not a component) so: * - live event handlers + session-JSONL replay call it identically, * guaranteeing the same header text in both flows. * - consumers outside React (trace archive, MCP, tests) can reuse it. * * Unknown tool names return `''` — the card renders just the tool name then. */ export declare function toolCallSummary(name: string, args: unknown): string;