import type { FeatureFlags } from './types/feature-flags'; type BooleanFlags = Record; type NormalizedFeatureFlags = Partial; /** * Normalise and filter a free Record to match * the rules for feature flags in editor and renderer * * Input has to match to not be filtered output: * 1. cased in kebab-case (match [a-z-]) * 2. has any value * * Output matches * 1. cased in camelCase (match [a-zA-Z]) * 2. has boolean value or object {} value * * @param rawFeatureFlags */ export declare function normalizeFeatureFlags(rawFeatureFlags?: Record, options?: { objectFlagKeys: string[]; }): NormalizedFeatureFlags; /** * Transforms FeatureFlags to a type safe string array of the enabled feature flags. * * Useful for analytics and analysis purposes. */ export declare function getEnabledFeatureFlagKeys(featureFlags: FeatureFlags): (keyof FeatureFlags)[]; export {};