import { type ReactElement } from 'react'; import type { AriaLabelingProps } from '../../core/types/a11y-props.js'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { DataTestId } from '../../core/types/data-props.js'; import type { MaskingProps } from '../../core/types/masking-props.js'; import type { StylingProps } from '../../core/types/styling-props.js'; import type { WithChildren } from '../../core/types/with-children.js'; /** * The props for the Highlight component. * @public */ export interface HighlightProps extends WithChildren, AriaLabelingProps, DataTestId, MaskingProps, StylingProps, BehaviorTrackingProps { /** * Either a substring or an array of multiple different substrings that * should be highlighted in the projected content. * Every occurrence of the string(s) is highlighted accordingly. */ term: string | string[]; /** * Property that determines whether the highlighting search is case-sensitive. * If set to `true`, the component searches for case sensitive occurrences. * @defaultValue false */ caseSensitive?: boolean; } /** * Use the `Highlight` component to highlight one or more substrings within a * text. * @public */ export declare const Highlight: (props: HighlightProps) => ReactElement;