import { ComponentType } from 'react'; import { FlagKey } from './flag-keys'; interface WithFeatureFlagOptions { /** The feature flag to check */ flag: FlagKey | string; /** Component to render when flag is disabled */ fallback?: ComponentType; } /** * HOC to gate components by feature flag. */ export declare function withFeatureFlag

(Component: ComponentType

, options: WithFeatureFlagOptions): ComponentType

; /** * HOC to invert the feature flag check (show when flag is disabled). */ export declare function withoutFeatureFlag

(Component: ComponentType

, options: WithFeatureFlagOptions): ComponentType

; export {};