import { McpClientManager, type McpToolAuthorizationResolver } from "../../mcp-client/index.js"; import { type McpPrincipal } from "../../mcp-client/principal.js"; /** Install the app-owned MCP tool authorization on every principal manager. */ export declare function setMcpToolAuthorizationResolver(resolver?: McpToolAuthorizationResolver): void; /** Lazily hydrate one bounded manager for one authenticated user/org pair. */ export declare function getMcpManagerForPrincipal(rawPrincipal: McpPrincipal, forceRefresh?: boolean): Promise; export declare function refreshMcpManagerForPrincipal(rawPrincipal: McpPrincipal): Promise; export declare function getMcpManagerForCurrentRequest(forceRefresh?: boolean): Promise; export declare function invalidateMcpManagersForScope(scope: "user" | "org", scopeId: string, keep?: McpClientManager): Promise; export declare function stopAllMcpManagers(): Promise; export declare function _resetMcpManagerRegistryForTests(): Promise; export declare function resolveBackgroundMcpToolSelection(requested: readonly string[], includeAll: boolean): readonly string[] | null | undefined; export declare function mountMcpHubStatusRoute(nitroApp: any): void; export declare function mountMcpStatusRoute(nitroApp: any): void;