import { Tool } from '@modelcontextprotocol/server'; import { KubernetesClient } from '../../kubernetes/KubernetesClient.js'; /** * Base interface for all Kubernetes MCP tool commands */ export interface BaseTool { /** * 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 commands */ export declare const CommonSchemas: { namespace: { type: string; description: string; optional: boolean; }; labelSelector: { type: string; description: string; optional: boolean; }; fieldSelector: { type: string; description: string; optional: boolean; }; name: { type: string; description: string; }; }; /** * Format resource metadata for consistent output */ export declare function formatResourceMetadata(resource: any): any; /** * Format resource status with common fields */ export declare function formatResourceStatus(resource: any): any; //# sourceMappingURL=BaseTool.d.ts.map