import React from 'react'; import { TextProps } from './text/Text'; export declare type HighlightQueryProps = { query?: string; maxSurroundChars?: number; maxChars?: number; }; export declare type ProvideHighlightProps = HighlightQueryProps & { children?: React.ReactNode; }; export declare const ProvideHighlight: ({ children, ...props }: ProvideHighlightProps) => JSX.Element; export declare type HighlightTextProps = TextProps & HighlightQueryProps; export declare function HighlightText({ children, maxSurroundChars, maxChars, ...props }: HighlightTextProps): JSX.Element; //# sourceMappingURL=Highlight.d.ts.map