/** * @fileoverview Glean client implementation using the Glean API client. * * This module provides a client for interacting with the Glean API. * * Required environment variables: * - GLEAN_INSTANCE or GLEAN_SUBDOMAIN: Name of the Glean instance * - GLEAN_API_TOKEN: API token for authentication * * Optional environment variables: * - GLEAN_ACT_AS: User to impersonate (only valid with global tokens) * * @module common/client */ import { SDKOptions } from '@gleanwork/api-client'; import { Client } from '@gleanwork/api-client/sdk/client.js'; /** * Gets the singleton instance of the Glean client, creating it if necessary. * * @returns {Promise} The configured Glean client instance * @throws {Error} If required environment variables are missing */ export declare function getClient(): Promise; export declare function getAPIClientOptions(): Promise; /** * Resets the client instance. Useful for testing or reconfiguration. */ export declare function resetClient(): void; //# sourceMappingURL=client.d.ts.map