export declare const textMarkerModes: readonly ["startsWith", "contains", "endsWith"];
type TextMarkerMode = (typeof textMarkerModes)[number];
export type TextMarkerProps = {
    /**
     * The background color to be used as marker color
     */
    backgroundColor?: string;
    /**
     * The text pattern to be search in children. This is the marked text.
     */
    searchText: string;
    /**
     * The complete text to show.
     */
    children: string;
    /**
     * Wheather the pattern is case sensitive or not.
     */
    isCaseSensitive?: boolean;
    /**
     * The mode to search within the children.
     */
    mode?: TextMarkerMode;
    /**
     * The separator to split the searchText in multiple tokens.
     */
    multiSearchCharSeparator?: string;
};
/**
 * Change a plain text by a set of marked and not-marked tokens, according to a searchText pattern.
 */
declare const TextMarker: ({ backgroundColor, searchText, isCaseSensitive, mode, multiSearchCharSeparator, children }: TextMarkerProps) => import("react/jsx-runtime").JSX.Element;
export default TextMarker;
