/** * CLI MCP Client — tool registry and lazy category loading * Split out of mcp-client.ts (file-size sweep). Pure move. */ import type { MCPTool } from './mcp-tools/types.js'; /** * MCP Tool Registry * Maps tool names to their handler functions — populated lazily per category. */ export declare const TOOL_REGISTRY: Map; export declare function registerTools(tools: MCPTool[], options?: { override?: boolean; }): void; type CategoryLoader = () => Promise; export declare const CATEGORY_LOADERS: Record; export declare function ensureCategory(category: string): Promise; export declare function categoryFromToolName(name: string): string; export declare function ensureAllLoaded(): Promise; /** * Disabled-tools registry (`mcp toggle`) * * Read fresh on every check (the file is tiny and toggles are infrequent) so a * `mcp toggle` run in another process/session takes effect without restarting * this one. Filters both direct invocation (callMCPTool) and MCP server * registration (getAllMCPTools) so a disabled tool is actually excluded, not * just cosmetically hidden. */ export declare function loadDisabledTools(cwd?: string): Set; export declare function isToolDisabled(toolName: string, cwd?: string): boolean; export {}; //# sourceMappingURL=mcp-client-registry.d.ts.map