import type { PropsWithChildren } from "react"; import type { StyleProp, ViewStyle } from "react-native"; export declare type FadeDuringHighlightProps = PropsWithChildren<{ style?: StyleProp; }>; /** * A component that will fade its children (cover them with a view) when a `HighlightOverlay` is visible. * This is mostly useful if you are forced to place your `HighlightOverlay` inside of a view (e.g. scroll view) * and want other items outside of the view to also be faded when the highlight is visible. * * @since 1.3 */ declare function FadeDuringHighlight({ children, style }: FadeDuringHighlightProps): JSX.Element; export default FadeDuringHighlight;