import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { IDomEditor, IEditorConfig, SlateDescendant } from '@wangeditor/editor'; import { Mode } from '../type'; import * as i0 from "@angular/core"; export declare class EditorComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges { private editorRef; private cd; mode: Mode; defaultContent: SlateDescendant[]; defaultHtml: string; defaultConfig: Partial; height: string; onCreated: EventEmitter; onDestroyed: EventEmitter; onMaxLength: EventEmitter; onFocus: EventEmitter; onBlur: EventEmitter; customAlert: EventEmitter; customPaste: EventEmitter; onChange: EventEmitter; editor: IDomEditor; currentValue: string; private propagateChange; constructor(editorRef: ElementRef, cd: ChangeDetectorRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private init; writeValue(obj: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; ngOnDestroy(): void; private genErrorInfo; private setHtml; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }