/** * Module-level tool registry façade. * * State lives in `ToolRegistry` (see `./tool-registry.ts`); this module * provides the legacy top-level function API that delegates to the * default RuntimeContext singleton. This keeps every existing call site * (`registerTools`, `getTools`, `resolveToolCall`, …) working unchanged * while the underlying mutable state is owned by a single object. */ import { Tool } from "@modelcontextprotocol/sdk/types.js"; import type { ModuleCategory, ModuleMeta } from "../profiles.js"; import type { ToolDefinition, EnrichedModuleStatus } from "./registry-types.js"; export type { ToolDefinition, EnrichedModuleStatus } from "./registry-types.js"; export declare function setToolListChangedNotifier(notifier: () => void): void; export declare function freezeRegistry(): void; export declare function registerTools(defs: ToolDefinition[]): void; export declare function registerToolsHidden(defs: ToolDefinition[]): void; export declare function unhideTools(names: string[]): void; export declare function hideTools(names: string[]): void; export declare function registerLazyModule(name: string, loader: () => void): void; export declare function loadModule(name: string): boolean; export declare function registerAllModuleMetadata(modules: readonly ModuleMeta[]): void; export declare function getModuleMetadata(name: string): ModuleMeta | undefined; export declare function unhideByCategory(category: ModuleCategory): string[]; export declare function hideByCategory(category: ModuleCategory, alwaysVisible: readonly string[]): string[]; export declare function getModuleStatus(): EnrichedModuleStatus[]; export declare function resetRegistry(): void; export declare function registerAliases(aliases: Record): void; export declare function registerAliasesWithDefaults(aliases: Record; }>): void; export declare function getRegisteredToolNames(): Set; export declare function getTools(): Tool[]; export interface ResolvedToolCall { handler: ToolDefinition["handler"]; args: Record; autoEnabled: string | null; } export declare function resolveToolCall(name: string, args: Record): ResolvedToolCall | undefined; //# sourceMappingURL=registry.d.ts.map