/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { SimpleConfig } from '../base/config.js'; import type { ToolInvocation, ToolResult } from '../base/tools.js'; import { BaseDeclarativeTool, BaseToolInvocation } from '../base/tools.js'; export interface ShellToolParams { command: string; description?: string; directory?: string; } export declare class ShellToolInvocation extends BaseToolInvocation { private readonly config; constructor(config: SimpleConfig, params: ShellToolParams); getDescription(): string; private executeShellCommand; execute(signal: AbortSignal): Promise; } export declare class ShellTool extends BaseDeclarativeTool { private readonly config; static Name: string; constructor(config: SimpleConfig); protected validateToolParamValues(params: ShellToolParams): string | null; protected createInvocation(params: ShellToolParams): ToolInvocation; } //# sourceMappingURL=shell.d.ts.map