import { McpToolContribution, McpToolDefinition, McpToolResult, McpUserContext } from "../interfaces/mcp.tool.interface"; import { McpGenericToolsService } from "./mcp.generic.tools.service"; import { McpPromotedToolsFactory } from "./mcp.promoted.tools.factory"; /** * Composes the MCP tool set for a single authenticated request: * - the generic tools (graph reads, document retrieval, entity writes) * - the config-promoted per-entity tools * - any app-contributed factories registered under the MCP_TOOLS token, * built per request with the same user context as the built-ins */ export declare class McpToolRegistry { private readonly generic; private readonly promoted; private readonly contributed?; constructor(generic: McpGenericToolsService, promoted: McpPromotedToolsFactory, contributed?: McpToolContribution[]); /** RBAC-filtered tool list for this user; throws on duplicate tool names. */ build(ctx: McpUserContext): McpToolDefinition[]; /** Routes a tools/call to the named tool; unknown names return a flat error payload. */ call(name: string, input: Record, ctx: McpUserContext): Promise; } //# sourceMappingURL=mcp.tool.registry.d.ts.map