import type { ToolBodyLineStyle, ToolRenderInput, ToolRenderResult } from "./types.js"; type PlainRecord = Record; export declare function normalizeToolName(toolName: string): string; export declare function parseArgsText(argsText: string): unknown; export declare function argsRecord(input: ToolRenderInput): PlainRecord | undefined; export declare function stringArg(input: ToolRenderInput, keys: readonly string[]): string | undefined; export declare function numberArg(input: ToolRenderInput, keys: readonly string[]): number | undefined; export declare function defaultToolRender(input: ToolRenderInput): ToolRenderResult; export declare function renderWithArgsAndResult(input: ToolRenderInput, options?: { headerArgs?: string | undefined; argumentsBody?: string | undefined; collapsedBody?: string | undefined; }): ToolRenderResult; export declare function resultSection(input: ToolRenderInput): string; export declare function argsAndResultExpandedText(input: ToolRenderInput, argsBlock: string): Pick; export declare function resultText(input: ToolRenderInput, options?: { empty?: boolean; }): string; export declare function expandedTextFromParts(...parts: readonly ExpandedTextPart[]): Pick; export declare function labeledBlock(title: string, body: string | undefined): string; export declare function joinSections(...parts: readonly string[]): string; export declare function indent(text: string, spaces?: number): string; export declare function lineCount(text: string): number; type ExpandedTextPart = { text?: string | undefined; } & Omit; export declare function formatArgsInline(args: unknown, preferredKeys?: readonly string[]): string; export declare function formatArgsBlock(args: unknown, preferredKeys?: readonly string[]): string; export declare function summarizePatch(text: string | undefined): string | undefined; export declare function compactCommand(command: string | undefined): string | undefined; export {};