/** * Atlassian provider implementing the Provider interface. * * Owns OAuth lifecycle and Cloud ID resolution. Wires all 19 tools (11 Jira * + 8 Confluence) and 4 resource templates via a deferred client pattern so * that tool/resource registrations can happen before ready() resolves. */ import type { Provider, ToolRegistrar } from '../types.js'; import type { AtlassianProviderConfig } from '../../config/types.js'; import type { TokenManager, ApiLogger } from '../../token/types.js'; /** * Atlassian provider. * * Resolves the Cloud ID on ready() then verifies the Jira API is reachable. * Tools and resources are registered with a deferred client wrapper that * forwards to the real AtlassianClient once ready() has resolved. */ export declare class AtlassianProvider implements Provider { readonly name = "atlassian"; private readonly tokenManager; private readonly logger?; private cloudId; private readonly clientRef; constructor(_config: AtlassianProviderConfig, tokenManager: TokenManager, options?: { logger?: ApiLogger; }); registerTools(registrar: ToolRegistrar): void; registerResources(registrar: ToolRegistrar): void; /** * Verify that: * 1. A valid access token is available * 2. The Atlassian Cloud ID is resolvable * 3. The Jira API is reachable (/ex/jira/{cloudId}/rest/api/3/myself) * * On success, sets the real AtlassianClient so deferred wrappers resolve. */ ready(): Promise; shutdown(): Promise; getCloudId(): string | null; } //# sourceMappingURL=provider.d.ts.map