import { ElementRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
import { QueryToken, RenderConfigurator } from "../models";
import * as i0 from "@angular/core";
export declare class TextHighlightOverlayComponent<T extends QueryToken> implements OnInit, OnChanges {
    readonly ONE_SIDE_STROKE_WIDTH = 1;
    readonly BOTH_SIDES_STROKE_WIDTH = 2;
    readonly BOX_SUM_PADDING = 8;
    model: {
        value: string;
        tokens: T[];
    };
    renderConfigurator: RenderConfigurator<T>;
    parentContainer: ElementRef;
    textContainer: ElementRef;
    text: ElementRef;
    highlightCanvas: ElementRef;
    private get container();
    private get textHolder();
    private get span();
    private window;
    constructor(window: any);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnInit(): void;
    private getBorderWidths;
    private getPaddings;
    private getPixelPropertyValue;
    private highlightTokens;
    private processTokens;
    private setupContext;
    private highlightToken;
    private addHighlightRectangle;
    private addNotificationRectangle;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextHighlightOverlayComponent<any>, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TextHighlightOverlayComponent<any>, "nui-text-highlight-overlay", never, { "model": { "alias": "model"; "required": false; }; "renderConfigurator": { "alias": "renderConfigurator"; "required": false; }; }, {}, never, never, false, never>;
}
