import type { PropsWithChildren } from "react"; import React from "react"; import type { StyleProp, ViewStyle } from "react-native"; import type { HighlightOptions } from "./context/context"; export declare type HighlightableElementProps = PropsWithChildren<{ /** * The id used by the HighlightOverlay to find this element. * @since 1.0 */ id: string; /** * The options that decide how this element should look. If left undefined, it only highlights the element. * @since 1.2 */ options?: HighlightOptions; style?: StyleProp; }>; /** * A component that allows its children to be highlighted by the `HighlightOverlay` component. * * @since 1.0 */ declare const HighlightableElement: React.MemoExoticComponent<({ id, options, children, style }: HighlightableElementProps) => JSX.Element>; export default HighlightableElement;