import { OnInit, EventEmitter } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { DatepickerOptions } from 'ng2-datepicker';
export declare class HtmlEditorComponent implements OnInit, ControlValueAccessor {
    close: EventEmitter<{}>;
    saveValue: EventEmitter<{}>;
    newTheme: EventEmitter<{}>;
    themes: any;
    themeSelect: any;
    startDate: any;
    endDate: any;
    finalOptions: DatepickerOptions;
    theme: any;
    title: string;
    abstract: string;
    msgErr: string;
    msgErrData: string;
    duration: number;
    tagsCustom: any[];
    Editor: any;
    value: string;
    config: {
        toolbar: string[];
        heading: {
            options: ({
                model: string;
                title: string;
                class: string;
                view?: undefined;
            } | {
                model: string;
                view: string;
                title: string;
                class: string;
            })[];
        };
    };
    private defaultOptions;
    /**
     * Invoked when the model has been changed
     */
    onChange: (_: any) => void;
    /**
     * Invoked when the model has been touched
     */
    onTouched: () => void;
    constructor();
    ngOnInit(): void;
    /**
     * Method that is invoked on an update of a model.
     */
    updateChanges(): void;
    /**
     * Writes a new item to the element.
     * @param value the value
     */
    writeValue(value: string): void;
    /**
     * Registers a callback function that should be called when the control's value changes in the UI.
     * @param fn
     */
    registerOnChange(fn: any): void;
    /**
     * Registers a callback function that should be called when the control receives a blur event.
     * @param fn
     */
    registerOnTouched(fn: any): void;
    save(): void;
    validData(): boolean;
    operatorDates(start: any, end: any): boolean;
    selectThemeForContent(t: any): void;
}
