import type { ApiResponse, ApiLogger, TokenManager } from '../../token/types.js'; import type { GrafanaProviderConfig } from '../../config/types.js'; /** * Grafana-specific API client interface. * * Read-only provider — exposes only GET. No POST/PUT/DELETE at this tier. * Style reference: GitLabClient in providers/gitlab/client.ts. */ export interface GrafanaClient { /** GET with optional query params, returns typed response */ get(path: string, params?: Record): Promise>; } /** * Create a Grafana API client. * * Wraps createApiClient with the Grafana stack URL + '/api' as baseUrl. * The returned client is a thin read-only wrapper — no business logic here. */ export declare function createGrafanaClient(config: GrafanaProviderConfig, tokenManager: TokenManager, options?: { logger?: ApiLogger; }): GrafanaClient; //# sourceMappingURL=client.d.ts.map