import React from 'react'; /** * This function is used to switch between two components based on a feature flag * @param ComponentOld * @param ComponentNext * @param featureFlagFn function that returns a boolean value to switch to the next component, e.g. () => fg('my_flag_name') * @returns */ export declare const withFeatureFlaggedComponent:
(ComponentOld: React.ComponentType
, ComponentNext: React.ComponentType
, featureFlagFn: () => boolean) => (props: P) => React.JSX.Element;