import type { ToolDefinition } from '../core/toolRuntime.js';
/**
 * Creates the Edit tool for surgical file modifications using exact string replacement.
 *
 * This tool performs string-based edits without requiring full file rewrites,
 * making it ideal for targeted changes while preserving exact formatting and indentation.
 *
 * Features:
 * - Exact string matching (preserves indentation)
 * - Replace all occurrences or enforce uniqueness
 * - Unified diff preview
 * - Validation before writing
 *
 * @param workingDir - The working directory for resolving relative paths
 * @returns Array containing the Edit tool definition
 */
export declare function createEditTools(workingDir: string): ToolDefinition[];
export interface EditArguments {
    file_path?: unknown;
    old_string?: unknown;
    new_string?: unknown;
    replace_all?: unknown;
}
/**
 * Shared edit executor used by both legacy and unified tool flows.
 * Provides consistent validation, creation/deletion handling, and diff output.
 */
export declare function performSurgicalEdit(workingDir: string, args: EditArguments | Record<string, unknown>): Promise<string>;
//# sourceMappingURL=editTools.d.ts.map