import { type ToolBuilder } from '../core/types.js'; import { type IntrospectionConfig } from './types.js'; /** Delegate interface for accessing registered builders (subset of ToolRegistry) */ export interface IntrospectionRegistryDelegate { /** Iterate over all registered builders */ values(): Iterable>; } /** * Register MCP Resource handlers for introspection on the low-level Server. * * Called by `attachToServer()` when `options.introspection.enabled` is `true`. * * @param server - The resolved low-level MCP Server instance * @param config - Introspection configuration (from AttachOptions) * @param serverName - Server name for the manifest payload * @param builders - Registry delegate providing builder iteration * @param contextFactory - Factory to create per-request context (from AttachOptions) */ export declare function registerIntrospectionResource(server: unknown, config: IntrospectionConfig, serverName: string, builders: IntrospectionRegistryDelegate, contextFactory?: (extra: unknown) => TContext | Promise): void; //# sourceMappingURL=IntrospectionResource.d.ts.map