import type { Provider, ToolRegistrar } from '../types.js'; import type { GrafanaProviderConfig } from '../../config/types.js'; import type { TokenManager, ApiLogger } from '../../token/types.js'; /** * Grafana read-only provider implementing the Provider interface. * * Owns the Grafana-scoped ApiClient and static token lifecycle. * Registers 5 read-only diagnostic tools via registerGrafanaTools. * * Style reference: GitLabProvider in providers/gitlab/provider.ts. */ export declare class GrafanaProvider implements Provider { readonly name = "grafana"; private readonly client; private readonly tokenManager; constructor(config: GrafanaProviderConfig, tokenManager: TokenManager, options?: { logger?: ApiLogger; }); registerTools(registrar: ToolRegistrar): void; /** * No-op — resources are deferred to a follow-up story. */ registerResources(_registrar: ToolRegistrar): void; /** * Verify token validity and Grafana API reachability. * Rejects with a descriptive error when not authenticated or /health fails. */ ready(): Promise; shutdown(): Promise; } //# sourceMappingURL=provider.d.ts.map