import { type RequiredMediaFeatureFlags, type MediaFeatureFlags } from './types'; export declare const filterFeatureFlagNames: (flags: RequiredMediaFeatureFlags) => Array; /** * Takes a record of {Media Feature Flag Names → boolean}. * Returns the Launch Darkly Keys from all products for each of the flags set as true in the input record. * */ export declare const getFeatureFlagKeysAllProducts: () => Array; /** * defaultMediaFeatureFlags set default values used by the getter function getMediaFeatureFlag * * ************************************* * ************* IMPORTANT ************* * ************************************* * Only in exceptional cases a FF should be 'true' by default. * Making a flag default to 'true' can lead to confusing and unexpected scenarios. * If you must set a flag default = true, whenever you remove that flag * that change should be released as a MAJOR, because it's a breaking change. */ export declare const defaultMediaFeatureFlags: Required; /** * Public accessor from components to fallback to defaults if flags not passed, * otherwise whatever product has set will be returned. * * To override locally for testing: * - `localStorage[flagName] = true` to enable locally, * - `delete localStorage[flagName]` to remove. * * (you will see a warning in console if override used) * */ export declare function getMediaFeatureFlag(flagName: keyof MediaFeatureFlags, featureFlags?: MediaFeatureFlags): T;