import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class ContenteditableValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
    private readonly elementRef;
    private readonly renderer;
    private onTouched;
    contenteditable: boolean;
    private onChange;
    private observer?;
    constructor(elementRef: ElementRef<Element>, renderer: Renderer2);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    onInput(): void;
    onBlur(): void;
    writeValue(value: string): void;
    registerOnChange(onChange: (value: string) => void): void;
    registerOnTouched(onTouched: () => void): void;
    setDisabledState(disabled: boolean): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ContenteditableValueAccessor, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<ContenteditableValueAccessor, "[contenteditable][ngModel]", never, { "contenteditable": { "alias": "contenteditable"; "required": false; }; }, {}, never, never, true, never>;
}
