import { AfterViewInit, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { DeviceDetectorService } from 'ngx-device-detector';
import { ComponentBase } from '../../classes/base/component-base';
import { PopupSize } from '../../classes/form-schema';
import { FileObjectService } from '../file-explorer/services/file-object.service';
import { NotifierService } from '../../services/notifier.service';
import { EquationEditorComponent } from '../equation-editor/equation-editor.component';
import { FileExplorerService } from '../file-explorer/services/file-explorer.service';
export declare class TnTinymceComponent extends ComponentBase implements OnInit, ControlValueAccessor, AfterViewInit, OnDestroy {
    _deviceDetectorService: DeviceDetectorService;
    protected _notifierService: NotifierService;
    protected _fileService: FileExplorerService;
    protected _fileObjectService: FileObjectService;
    equationForm: EquationEditorComponent;
    mode?: 'basic' | 'medium' | 'full' | 'simple';
    disabled: boolean;
    required: boolean;
    height: number;
    field: string;
    placeholder: string;
    languageCode: any;
    onInit: EventEmitter<any>;
    keydown: EventEmitter<any>;
    onBlur: EventEmitter<any>;
    onChanged: EventEmitter<any>;
    model: any;
    onChange: Function;
    onTouched: Function;
    id: string;
    editor: any;
    dataEquation: any;
    isShow: boolean;
    isAddNews: boolean;
    private modes;
    isAddFile: boolean;
    is: boolean;
    header: string;
    equationFormModel: any;
    popupSize: PopupSize;
    showTemplate: boolean;
    constructor(injector: Injector, _deviceDetectorService: DeviceDetectorService, _notifierService: NotifierService, _fileService: FileExplorerService, _fileObjectService: FileObjectService);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    writeValue(obj: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    openDialog(data?: {}): void;
    getTinyMceConfigByMode(mode: any): any;
    normalizeHTML(content: string, begin: string, end: string): string;
    handleBlur(): void;
    onKeyDown(e: any, topic: string): void;
    handleOk(evt: any): void;
    focusTrap(event: any): void;
    handlePaste(types: any, pastedData: any, pastedRtfData: any, files: any): Promise<unknown>;
    openFileManager(): void;
    subscribeContentInsert(): void;
    ngOnDestroy(): void;
    handleRFCancel(evt: any): void;
    showChanged(evt: any): void;
    addTemplate(evt: any): void;
    dataURItoBlob(dataURI: any, fileType: any): Blob;
}
//# sourceMappingURL=tn-tinymce.component.d.ts.map