Version: 1.0.0-alpha.01.0.0-alpha.11.0.0-alpha.21.0.0-alpha.31.0.0-alpha.41.0.0-alpha.51.0.0-alpha.61.0.0-alpha.71.0.0-alpha.81.0.0-alpha.91.0.0-alpha.101.0.0-alpha.111.0.0-alpha.121.0.0-alpha.131.0.0-alpha.141.0.0-alpha.151.0.0-alpha.161.0.0-alpha.171.0.0-alpha.181.0.0-alpha.191.0.0-alpha.201.0.0-alpha.211.0.0-alpha.221.0.0-alpha.231.0.0-alpha.241.0.0-alpha.251.0.0-alpha.261.0.0-alpha.271.0.0-alpha.281.0.0-alpha.291.0.0-alpha.301.0.0-alpha.311.0.0-beta.11.0.0-beta.21.0.0-beta.31.0.0-beta.41.0.0-beta.51.0.0-beta.61.0.0-beta.71.0.0-beta.81.0.0-beta.91.0.01.0.11.0.21.0.31.0.41.1.01.1.11.1.22.0.0-alpha.02.0.02.1.02.1.12.1.22.2.02.2.12.2.23.0.0-beta.13.0.03.1.03.2.03.2.13.2.23.3.03.3.14.0.04.0.14.0.24.0.34.0.44.0.54.1.04.1.14.1.24.1.34.2.04.2.14.2.25.0.0-rc.05.0.0-rc.15.0.05.1.05.1.15.1.25.1.35.1.45.1.55.2.05.2.15.2.25.2.35.3.05.3.16.0.0-rc.06.0.06.0.16.0.26.0.36.1.0-beta.16.1.0-beta.26.1.06.2.07.0.08.0.0-beta.18.0.08.0.18.0.28.0.38.0.49.0.09.0.19.0.29.1.09.1.19.1.29.1.310.0.011.0.0-beta.111.0.0-beta.211.0.0-rc.011.0.011.0.112.0.0-beta.312.0.0-beta.412.0.012.0.112.0.212.1.012.1.112.1.213.0.0-beta.113.0.013.1.013.1.114.0.0-rc.014.0.0-rc.114.0.014.0.114.1.014.1.114.2.015.0.015.0.115.1.015.1.115.1.216.0.0-rc.016.0.0-rc.116.0.0-rc.216.0.0
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 `Al<span class="ngb-highlight">as</span>ka`.
*/
export declare class NgbHighlight implements OnChanges {
parts: string[];
* The CSS class for `<span>` 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;
}