import { OnChanges, SimpleChanges } from '@angular/core'; /** * A component that helps with text highlighting. * * If splits the `result` text into parts that contain the searched `term` and generates the HTML markup to simplify * highlighting: * * Ex. `result="Alaska"` and `term="as"` will produce `Alaska`. */ export declare class NgbHighlight implements OnChanges { parts: string[]; /** * The CSS class for `` elements wrapping the `term` inside the `result`. */ highlightClass: string; /** * The text highlighting is added to. * * If the `term` is found inside this text, it will be highlighted. * If the `term` contains array then all the items from it will be highlighted inside the text. */ result?: string | null; /** * The term or array of terms to be highlighted. * Since version `v4.2.0` term could be a `string[]` */ term: string | readonly string[]; /** * Boolean option to determine if the highlighting should be sensitive to accents or not. * * This feature is only available for browsers that implement the `String.normalize` function * (typically not Internet Explorer). * If you want to use this feature in a browser that does not implement `String.normalize`, * you will have to include a polyfill in your application (`unorm` for example). * * @since 9.1.0 */ accentSensitive: boolean; ngOnChanges(changes: SimpleChanges): void; }