import { EppoClient, EventDispatcher } from '@eppo/js-client-sdk-common'; import { IClientConfig, IOfflineClientConfig } from './i-client-config'; export { Attributes, AttributeType, BanditActions, BanditSubjectAttributes, ContextAttributes, IAssignmentDetails, IAssignmentEvent, IAssignmentLogger, IBanditEvent, IBanditLogger, EppoAssignmentLogger, } from '@eppo/js-client-sdk-common'; export { IClientConfig, IOfflineClientConfig }; /** * @deprecated Eppo has discontinued eventing support. Event tracking will be handled by Datadog SDKs. */ export declare const NO_OP_EVENT_DISPATCHER: EventDispatcher; /** * Initializes the Eppo client with configuration parameters. * This method should be called once on application startup. * After invocation of this method, the SDK will poll Eppo API at regular intervals to retrieve assignment configurations. * @param config client configuration * @public */ export declare function init(config: IClientConfig): Promise; /** * Used to access a singleton SDK client instance. * Use the method after calling init() to initialize the client. * @returns a singleton client instance or throws an Error if init() has not been called */ export declare function getInstance(): EppoClient; /** * Reconstructs the current flags configuration as a JSON string. * This can be used to bootstrap another SDK instance using offlineInit(). * * @returns JSON string containing the flags configuration, or null if not initialized * @public */ export declare function getFlagsConfiguration(): string | null; /** * Returns the current bandits configuration as a JSON string. * This can be used together with getFlagsConfiguration() to bootstrap * another SDK instance using offlineInit(). * * @returns JSON string containing the bandits configuration * @public */ export declare function getBanditsConfiguration(): string; /** * Initializes the Eppo client in offline mode with a provided configuration. * This method is synchronous and does not make any network requests. * Use this when you want to initialize the SDK with a previously fetched configuration. * @param config offline client configuration containing flag configurations as JSON strings * @returns the initialized client instance * @public */ export declare function offlineInit(config: IOfflineClientConfig): EppoClient; //# sourceMappingURL=index.d.ts.map