import { type ToolStrings } from './toolStrings.js'; export declare const MAX_EDIT_DIFF_LINES = 100; export declare const MAX_WRITE_DIFF_LINES = 50; export interface EditToolArgs { path?: string; old_string?: string; new_string?: string; content?: string; replace_all?: boolean; } export declare function isEditDiffTool(name: string): boolean; export declare function parseEditArgs(argsJSON: string): EditToolArgs | null; export declare const MAX_DIFF_CELLS = 1000000; export declare function wordEmphasisRanges(oldLine: string, newLine: string): Array<[number, number]> | null; export declare function lineDelta(oldLines: string[], newLines: string[]): [number, number]; export interface DiffRow { kind: 'add' | 'del' | 'ctx' | 'gap'; oldNo?: number; newNo?: number; text: string; emphasis?: Array<[number, number]>; } export interface EditDiffModel { rows: DiffRow[]; added: number; removed: number; truncated: boolean; } export declare function computeEditDiff(oldString: string, newString: string, startLine?: number): EditDiffModel; export interface WriteModel { rows: DiffRow[]; total: number; truncated: boolean; } export declare function computeWriteRows(content: string): WriteModel; export declare function editSummary(toolName: string, argsJSON: string, t?: ToolStrings): string;