import { MCPServerConfiguration } from "./config/index.js"; import { BaseClientManager } from "./confluent/base-client-manager.js"; import { OAuthHolder } from "./confluent/oauth/oauth-holder.js"; /** * Aggregate of all runtime state threaded through the server. * * Carries config and per-connection client managers. */ export declare class ServerRuntime { readonly config: MCPServerConfiguration; readonly clientManagers: Record; /** * The active OAuth holder when any connection in the config has `type === "oauth"`. * Constructed by {@link ServerRuntime.fromConfig}; `undefined` on api_key paths. * Construction is side-effect-free — PKCE runs lazily on the first * `holder.ensureLoggedIn()` call, which the MCP tool-call wrapper invokes * before any handler that needs Confluent access. */ readonly oauthHolder: OAuthHolder | undefined; constructor(config: MCPServerConfiguration, clientManagers: Record, oauthHolder?: OAuthHolder | undefined); /** * Convenience accessor for the single-connection period. * Remove (or make multi-connection-aware) when issue #151 lands. */ get clientManager(): BaseClientManager; static fromConfig(config: MCPServerConfiguration): ServerRuntime; } //# sourceMappingURL=server-runtime.d.ts.map