import * as i0 from "@angular/core"; import { OnDestroy } from "@angular/core"; export declare class LaunchDarklyService implements OnDestroy { private readonly globalStore; private ldClient; /** * Checks if the feature flag override is enabled in the global store's feature flag configuration. * @returns A boolean indicating whether the feature flag override is enabled or not. */ private isFeatureFlagOverrideEnabled; /** * Sets the LaunchDarkly flags by updating the featureFlags in the state service. */ private setLaunchDarklyFlags; /** * Formats the LDFlagChangeset into an LDFlagSet. * * @param flags - The LDFlagChangeset to be formatted. * @returns The formatted LDFlagSet. */ private formatChangeFlags; /** * Closes the LaunchDarkly client if it is open. */ private closeLaunchDarklyClient; /** * Initializes the LaunchDarkly change listener. * This method listens for changes in feature flags and updates the state accordingly. */ initializeLaunchDarklyChangeListener(): void; /** * Initializes the LaunchDarkly flags and sets them. * If the LD client is already initialized, it waits for initialization and then sets the flags. * If the LD client is not initialized, it returns a resolved promise. * @returns A promise that resolves when the flags are set. */ initializeLaunchDarklyFlags(): Promise; /** * Initializes the LaunchDarkly client. * If a stored LaunchDarkly client ID exists, it initializes the client with the ID and anonymous mode enabled. */ initializeLaunchDarklyClient(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }