import { HttpClient } from '@sisense/sdk-rest-client'; import { default as OpenAI } from 'openai'; import { AuthenticatorConfig } from './utils/http-client'; /** * Set a pre-created HttpClient instance (similar to initializeSisenseServices) * Useful when the consuming app already has an HttpClient instance * * @param httpClient - Pre-created HttpClient instance */ export declare function initializeHttpClient(httpClient: HttpClient): void; /** * Get the shared HttpClient instance (lazy initialization) * * @returns The HttpClient instance * @throws Error if client hasn't been initialized */ export declare function getHttpClient(): HttpClient; /** * Reset the http client * This function is useful when the consuming app needs to switch tenant or login to another user */ export declare function resetHttpClient(): void; /** * Set a pre-created OpenAI client instance (similar to initializeSisenseServices) * Useful when the consuming app already has an OpenAI client instance * * @param openAIClient - Pre-created OpenAI client instance */ export declare function initializeOpenAIClient(openAIClient: OpenAI): void; /** * Get the shared OpenAI client instance (lazy initialization) * * @returns The OpenAI client instance * @throws Error if client hasn't been initialized */ export declare function getOpenAIClient(): OpenAI; /** * Reset the OpenAI client (useful for testing) * * Allows tests to clean up or reset the shared instance between test runs */ export declare function resetOpenAIClient(): void; /** * Initialize the HttpClient and OpenAI client singletons * @param authConfig - Authenticator configuration */ export declare function initializeClients(authConfig: AuthenticatorConfig): void; //# sourceMappingURL=singleton-clients.d.ts.map