/** * MCP Tool Registry - Manages MCP tool registration and setup * * MAINT-002: Large Files Need Splitting - This class now orchestrates * the use of specialized services for better separation of concerns. */ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { CommandLoader } from '../executor/command-loader.js'; import type { ToolCallArgs, ToolResult } from '../types/mcp.types.js'; import { CommandDiscoveryService } from './command-discovery.service.js'; import { ToolMappingService } from './tool-mapping.service.js'; export declare class MCPToolRegistry { private commandDiscovery; private mcpServer; private toolMapping; constructor(mcpServer: McpServer, commandLoader: CommandLoader, handleToolCall: (commandName: string, args: ToolCallArgs) => Promise); /** * Register all available commands as MCP tools */ setupTools(): Promise; private registerObservabilityTools; /** * Get the command discovery service for external use */ getCommandDiscovery(): CommandDiscoveryService; /** * Get the tool mapping service for external use */ getToolMapping(): ToolMappingService; } //# sourceMappingURL=tool-registry.d.ts.map