import { a as McpServerDefinition, c as McpServerOperationContext, d as McpServerPrincipalClaims, f as McpServerPrincipalClaimsResolver, h as McpServerRuntimePhase, i as McpServerBuildContext, l as McpServerOperationInput, m as McpServerRuntimeObserver, n as resolveMcpServerPrincipal, o as McpServerFeature, p as McpServerRuntimeEvent, r as MaybePromise, s as McpServerMiddleware, t as McpServerRuntime, u as McpServerPrincipal } from "./mcp-server.runtime-Cflw4Og5.mjs"; import { AnyToolHandler, AuthInfo, CacheHint, CallToolResult, CompletableSchema, CompleteCallback, CompleteResourceTemplateCallback, CreateMcpHandlerOptions, ElicitInputParams, GetPromptResult, Icon, Implementation, InputRequiredResult, InputRequiredSpec, InputResponseView, ListResourcesCallback, McpHandlerRequestOptions, McpRequestContext, McpServer, PromptCallback, ReadResourceCallback, ReadResourceResult, ReadResourceTemplateCallback, RegisteredPrompt, RegisteredResource, RegisteredResourceTemplate, RegisteredTool, RequestStateCodec, RequestStateCodecOptions, ResourceMetadata, ResourceTemplate, ServerContext, ServerEvent, ServerEventBus, ServerNotifier, ServerOptions, StandardSchemaWithJSON, ToolAnnotations, ToolCallback, Variables, acceptedContent, completable, createRequestStateCodec, fromJsonSchema, inputRequired, inputResponse } from "@modelcontextprotocol/server"; //#region src/mcp-server.errors.d.ts type McpServerErrorCode = "DUPLICATE_SERVER" | "INVALID_DEFINITION" | "RUNTIME_CLOSED" | "UNKNOWN_SERVER"; declare class McpServerRuntimeError extends Error { readonly code: McpServerErrorCode; constructor(code: McpServerErrorCode, message: string, options?: ErrorOptions); } //#endregion //#region src/mcp-server.registry.d.ts /** Mutable registry of named server runtimes with deterministic reverse-order shutdown. */ declare class McpServerRegistry implements AsyncDisposable { #private; constructor(definitions?: readonly McpServerDefinition[]); register(definition: McpServerDefinition): McpServerRuntime; registerRuntime(runtime: McpServerRuntime): McpServerRuntime; has(name: string): boolean; get(name: string): McpServerRuntime; list(): readonly McpServerRuntime[]; close(): Promise; [Symbol.asyncDispose](): Promise; } //#endregion export { type AnyToolHandler, type AuthInfo, type CacheHint, type CallToolResult, type CompletableSchema, type CompleteCallback, type CompleteResourceTemplateCallback, type CreateMcpHandlerOptions, type ElicitInputParams, type GetPromptResult, type Icon, type Implementation, type InputRequiredResult, type InputRequiredSpec, type InputResponseView, type ListResourcesCallback, type MaybePromise, type McpHandlerRequestOptions, type McpRequestContext, McpServer, type McpServerBuildContext, type McpServerDefinition, type McpServerErrorCode, type McpServerFeature, type McpServerMiddleware, type McpServerOperationContext, type McpServerOperationInput, type McpServerPrincipal, type McpServerPrincipalClaims, type McpServerPrincipalClaimsResolver, McpServerRegistry, McpServerRuntime, McpServerRuntimeError, type McpServerRuntimeEvent, type McpServerRuntimeObserver, type McpServerRuntimePhase, type PromptCallback, type ReadResourceCallback, type ReadResourceResult, type ReadResourceTemplateCallback, type RegisteredPrompt, type RegisteredResource, type RegisteredResourceTemplate, type RegisteredTool, type RequestStateCodec, type RequestStateCodecOptions, type ResourceMetadata, ResourceTemplate, type ServerContext, type ServerEvent, type ServerEventBus, type ServerNotifier, type ServerOptions, type StandardSchemaWithJSON, type ToolAnnotations, type ToolCallback, type Variables, acceptedContent, completable, createRequestStateCodec, fromJsonSchema, inputRequired, inputResponse, resolveMcpServerPrincipal }; //# sourceMappingURL=index.d.mts.map