import React from 'react'; import { MantineColor, MantineTheme, CSSObject } from '@asuikit/styles'; import { TextProps } from '../Text/Text'; export interface HighlightProps extends TextProps { /** Substring or an array of substrings to highlight in children */ highlight: string | string[]; /** Color from theme that is used for highlighting */ highlightColor?: MantineColor; /** Styles applied to highlighted part */ highlightStyles?: CSSObject | ((theme: MantineTheme) => CSSObject); /** Full string part of which will be highlighted */ children: string; } export declare const _Highlight: React.ForwardRefExoticComponent>; export declare const Highlight: ((props: import("@asuikit/utils").PolymorphicComponentProps) => React.ReactElement>) & Omit, "component" | keyof HighlightProps> & { ref?: any; }) | (HighlightProps & { component: React.ElementType; })>, never> & Record; //# sourceMappingURL=Highlight.d.ts.map