import type { BoundedTextState } from "../../app/events/event-buffer.js"; import type { ToolItem } from "../state/transcript-types.js"; export interface ToolPresentation { readonly glyph: string; readonly statusLabel: string; readonly name: string; readonly argsLabel: string | undefined; readonly argsDisplay: string | undefined; readonly detail: string | undefined; readonly pathLine: string | undefined; readonly isFileDiff: boolean; } export declare function clampArgsDisplay(raw: string | undefined): string | undefined; export declare function presentTool(item: ToolItem): ToolPresentation; export declare function writeManyFileLabel(change: { readonly path: string; readonly kind: string; }): string; export interface OutputPresentation { readonly lines: readonly string[]; readonly hiddenAboveCount: number; readonly truncatedNotice: string | undefined; } export declare function sampleEnds(raw: string, eachEnd?: number): string; export declare function cleanToolOutputLines(raw: string): string[]; export declare function evidencePreviewLines(toolName: string | undefined, cleaned: readonly string[]): string[] | undefined; export declare function presentOutput(tail: string, state: BoundedTextState | undefined, expanded: boolean, toolName?: string): OutputPresentation;