import type { AirshipPluginWrapper } from './AirshipPlugin'; import type { FeatureFlag } from './types'; /** * Airship feature flag manager. */ export declare class AirshipFeatureFlagManager { private readonly plugin; constructor(plugin: AirshipPluginWrapper); /** * Retrieve a given flag's status and associated data by its name. * @param {string} flagName The flag name * @return {Promise} A promise resolving to the feature flag * requested. * @throws {Error} when failed to fetch */ flag(flagName: string): Promise; /** * Tracks a feature flag interaction event. * @param {FeatureFlag} flag The flag * @return {Promise} A promise with an empty result. * @throws {Error} when failed to fetch */ trackInteraction(flag: FeatureFlag): Promise; }