import type { NodeMcpJsonToolDefinition, NodeMcpJsonToolsetConfig, NodeMcpToolRegistrationContext, NodeMcpToolset } from './types.js'; export declare class NodeMcpJsonToolsetConfigurationError extends Error { readonly name = "NodeMcpJsonToolsetConfigurationError"; } /** Preserves a definition's inferred input type without adding runtime work. */ export declare function defineNodeMcpJsonTool>(definition: NodeMcpJsonToolDefinition): NodeMcpJsonToolDefinition; /** * Capability-aware declarative tool registry for the common JSON-tool path. * * The signed capability is the only source of exposed tool names. Every call * checks authority before and after product work and converts unknown failures * into the definition's static public message. */ export declare class NodeMcpJsonToolset implements NodeMcpToolset { #private; readonly serverInfo: Readonly<{ name: string; version: string; }>; constructor(config: NodeMcpJsonToolsetConfig); registerAllowedTools(context: NodeMcpToolRegistrationContext): void; } //# sourceMappingURL=json-toolset.d.ts.map