/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { BaseDeclarativeTool, type ToolInvocation, type ToolResult } from './tools.js'; import { Config } from '../config/config.js'; /** * Parameters for the DeleteLineRange tool */ export interface DeleteLineRangeToolParams { /** * The absolute path to the file to modify */ absolute_path: string; /** * The 1-based line number to start deleting from (inclusive) */ start_line: number; /** * The 1-based line number to end deleting at (inclusive) */ end_line: number; } /** * Implementation of the DeleteLineRange tool logic */ export declare class DeleteLineRangeTool extends BaseDeclarativeTool { private config; static readonly Name: string; constructor(config: Config); protected validateToolParamValues(params: DeleteLineRangeToolParams): string | null; protected createInvocation(params: DeleteLineRangeToolParams): ToolInvocation; }