import { ElementRef, AfterContentInit, OnDestroy, OnChanges, SimpleChanges, Renderer2 } from '@angular/core';
import { NgControl } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class EuiEditorMaxlengthDirective implements AfterContentInit, OnDestroy, OnChanges {
    private el;
    private renderer;
    private control;
    euiEditorMaxlength: number;
    isShowMaxlength: boolean;
    format: ('html' | 'json');
    private valueChangesSubscription;
    private maxLengthSpan;
    private wrapper;
    constructor(el: ElementRef, renderer: Renderer2, control: NgControl);
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterContentInit(): void;
    ngOnDestroy(): void;
    private refreshValue;
    private createMaxLengthBox;
    private destroyMaxLengthBox;
    static ɵfac: i0.ɵɵFactoryDef<EuiEditorMaxlengthDirective, [null, null, { self: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDefWithMeta<EuiEditorMaxlengthDirective, "[formControlName][euiEditorMaxlength]", never, { "euiEditorMaxlength": "euiEditorMaxlength"; "isShowMaxlength": "isShowMaxlength"; "format": "format"; }, {}, never>;
}
