import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
import { IHighlightTree } from '../../models/highlight-tree.model';
import { TldTranslateTextService } from '../../services/tld-translate-text.service';
import { AlertService } from '@tilde-nlp/ngx-common';
import * as i0 from "@angular/core";
export declare class TextareaWithBackgroundComponent implements OnInit, AfterViewInit {
    private readonly alerts;
    private readonly textService;
    sourceInput: ElementRef;
    treeWrapper: ElementRef;
    maxCharLength: number;
    autoFocuss: boolean;
    highlightTree: IHighlightTree[];
    highlight: boolean;
    textareaDisabled: boolean;
    private _sourceText;
    get sourceText(): string;
    set sourceText(val: string);
    get hasOverflow(): boolean;
    readonly clearButtonAriaCode = "CLEAR_SOURCE";
    readonly wrapperClass: string;
    constructor(alerts: AlertService, textService: TldTranslateTextService);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    onPaste(event: ClipboardEvent): void;
    private focus;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextareaWithBackgroundComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TextareaWithBackgroundComponent, "tld-textarea-with-background", never, { "maxCharLength": { "alias": "maxCharLength"; "required": false; }; "autoFocuss": { "alias": "autoFocuss"; "required": false; }; "highlightTree": { "alias": "highlightTree"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "textareaDisabled": { "alias": "textareaDisabled"; "required": false; }; }, {}, never, never, false, never>;
}
