import { Injector, NgZone, OnDestroy, OnInit } from '@angular/core';
import { SanitizePipe } from '@wm/components/base';
import { BaseFormCustomComponent } from '@wm/components/input';
import * as i0 from "@angular/core";
export declare class RichTextEditorComponent extends BaseFormCustomComponent implements OnInit, OnDestroy {
    private sanitizePipe;
    private ngZone;
    static initializeProps: void;
    $richTextEditor: any;
    $hiddenInputEle: any;
    proxyModel: any;
    _operationStack: any[];
    isEditorLoaded: boolean;
    showpreview: any;
    disabled: boolean;
    EDITOR_DEFAULT_OPTIONS: {
        toolbar: (string | string[])[][];
        callbacks: {
            onInit: () => void;
            onChange: (contents: any, editable: any) => void;
        };
        fontNames: string[];
        placeholder: string;
        minHeight: number;
        disableResizeEditor: boolean;
    };
    get htmlcontent(): any;
    get datavalue(): any;
    set datavalue(nv: any);
    constructor(inj: Injector, sanitizePipe: SanitizePipe, ngZone: NgZone, explicitContext: any);
    ngOnInit(): void;
    initEditor(): void;
    getDefaultOptions(): {
        toolbar: (string | string[])[][];
        callbacks: {
            onInit: () => void;
            onChange: (contents: any, editable: any) => void;
        };
        fontNames: string[];
        placeholder: string;
        minHeight: number;
        disableResizeEditor: boolean;
    };
    getLib(): string;
    overrideDefaults(options: any): void;
    onPropertyChange(key: string, nv: any, ov?: any): void;
    onStyleChange(key: any, nv: any, ov: any): void;
    performEditorOperation(key: any, value?: any): any;
    getCurrentPosition(): any;
    undo(): void;
    focus(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, [null, null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "div[wmRichTextEditor]", ["wmRichTextEditor"], {}, {}, never, never, false, never>;
}
