import type { AppServices } from "../bootstrap/composition-root.js"; import type { ToolItem } from "../state/transcript-types.js"; import type { FileChange } from "../../tools/file-diff.js"; export declare function formatToolPagerBody(raw: string): string; export declare function cleanArgsLabel(name: string, argsDisplay: string | undefined, options?: { maxLen?: number; }): string; export declare function pathFromArgsDisplay(argsDisplay: string | undefined): string | undefined; export declare function toolPagerTitle(name: string, argsDisplay: string | undefined): string; export interface OpenToolOutputOptions { readonly bodyOverride?: string; readonly titleOverride?: string; readonly skipArtifact?: boolean; readonly fileChange?: FileChange; } export declare function openToolOutputPager(services: AppServices, item: Pick & { readonly fileChanges?: ToolItem["fileChanges"]; }, options?: OpenToolOutputOptions): Promise;