import * as React from "react";
export type HighlightProps = {
    matchAgainst: string;
    text: string;
};
/**
 * Highlights matching areas of a query against a piece of text, and then renders them
 * on the screen with a highlighted class. The matching is case insensitive.
 * NOTE: This calls dangerouslySetInnerHTML and contains a potential exploit for XSS.  Use with caution
 * when rendering externally-supplied content.
 */
export declare const Highlight: (props: HighlightProps) => React.JSX.Element;
//# sourceMappingURL=Highlight.d.ts.map