import { AdoClient } from "../providers/ado-client.js"; import type { Config } from "./index.js"; /** * Mutable server-wide context. * * Tools read `ctx.adoClient` and `ctx.config` at **call time** * (inside the async handler), so updating the context switches * all tools to a new ADO org / project / PAT without restarting * the server. */ export declare class ServerContext { private _config; private _adoClient; constructor(config: Config); get config(): Config; get adoClient(): AdoClient; /** * Hot-swap ADO configuration at runtime. * Rebuilds the ADO client so subsequent tool calls use the new credentials. */ updateAdoConfig(ado: { orgUrl: string; project: string; pat: string; }): void; } //# sourceMappingURL=server-context.d.ts.map