import { Tool } from '@modelcontextprotocol/server'; import { KubernetesClient } from '../../kubernetes/KubernetesClient.js'; /** * Base interface for all Helm MCP tool commands */ export interface HelmBaseTool { /** * The tool definition for MCP registration */ tool: Tool; /** * Execute the command with given parameters */ execute(params: any, client?: KubernetesClient): Promise; } /** * Common parameter schemas used across multiple Helm commands */ export declare const HelmCommonSchemas: { namespace: { type: string; description: string; optional: boolean; }; releaseName: { type: string; description: string; }; revision: { type: string; description: string; optional: boolean; }; outputFormat: { type: string; description: string; enum: string[]; optional: boolean; }; }; /** * Executes a helm command using the helm CLI * @param args Array of command arguments * @param helmExecutable Optional helm executable path (for fallback scenarios) * @returns Promise with the command output */ export declare function executeHelmCommand(args: string[], helmExecutable?: string): Promise; /** * Validates that helm CLI is available with fallback detection */ export declare function validateHelmCLI(): Promise; //# sourceMappingURL=BaseTool.d.ts.map