import type { IConfigCatClient } from "../ConfigCatClient.js"; import type { OptionsForPollingMode, PollingMode } from "../ConfigCatClientOptions.js"; /** * Returns an instance of `ConfigCatClient` for the specified SDK Key. * @remarks This method returns a single, shared instance per each distinct SDK Key. * That is, a new client object is created only when there is none available for the specified SDK Key. * Otherwise, the already created instance is returned (in which case the `pollingMode` and `options` arguments are ignored). * So, please keep in mind that when you make multiple calls to this method using the same SDK Key, you may end up with multiple references to the same client object. * @param sdkKey SDK Key to access the ConfigCat config. * @param pollingMode The polling mode to use. * @param options Options for the specified polling mode. */ export declare const getClient: (sdkKey: string, pollingMode?: TMode, options?: OptionsForPollingMode) => IConfigCatClient; export { createConsoleLogger, createFlagOverridesFromMap, createFlagOverridesFromQueryParams, disposeAllClients } from "../index.pubternals.core.js"; export type { IQueryStringProvider } from "../index.pubternals.core.js"; export type { INodeAutoPollOptions, INodeLazyLoadingOptions, INodeManualPollOptions } from "./index.js"; export type { IJSAutoPollOptions, IJSLazyLoadingOptions, IJSManualPollOptions } from "../browser/index.js"; export type { OptionsForPollingMode }; export { LocalStorageConfigCache } from "../browser/LocalStorageConfigCache.js"; export { IndexedDBConfigCache } from "../shared/IndexedDBConfigCache.js"; export { XmlHttpRequestConfigFetcher } from "../browser/XmlHttpRequestConfigFetcher.js"; export { ClientSideFetchApiConfigFetcher, ServerSideFetchApiConfigFetcher } from "../shared/FetchApiConfigFetcher.js"; export { NodeHttpConfigFetcher } from "./NodeHttpConfigFetcher.js"; export * as Internals from "../index.pubternals.js"; export * from "../index.js";