import { ReactNode } from 'react';
import { Styles } from '../../tasty';
/**
 * Highlights occurrences of a search string within text.
 * Returns an array of ReactNodes with highlighted portions wrapped in Text.Highlight.
 */
export declare function highlightText(text: string, highlight: string, caseSensitive: boolean, highlightStyles?: Styles): ReactNode[];
