import * as React from 'react'; import { StandardProps } from '../../common'; export interface HighlightProps extends StandardProps { /** * String that needs to be rendered */ text: string; /** * String that needs to be highlighted */ highlight?: string; /** * Array that defines the indices to highlight, each element is an array of [start, end] * In case this is procided then highlight will be ignored. */ matches?: Array>; /** * Defines if the search will be case insensitive */ ignoreCase?: boolean; } /** * Highlight component is meant to be a simple component to display text with highlighted search. * Component will render a SPAN or series of SPAN with the content and highlights */ export declare const Highlight: React.FC & { inner: { readonly Highlighted: any; }; };