import { AfterViewInit, ElementRef, Injector, OnInit } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { ComponentBase } from '../../classes/base/component-base';
import { TemplateService } from '../../services/template.service';
export declare class EquationEditorComponent extends ComponentBase implements OnInit, AfterViewInit {
    protected _injector: Injector;
    private _templateService;
    _dom: DomSanitizer;
    preview: ElementRef;
    textarea: ElementRef;
    data: any;
    equationLatex: string;
    imageSrc: string;
    timeoutModelChange: any;
    equations: any[];
    constructor(_injector: Injector, _templateService: TemplateService, _dom: DomSanitizer);
    ngAfterViewInit(): void;
    ngOnInit(): void;
    insertEquation(equationValue: any): Promise<void>;
    showPreview(text: string): Promise<void>;
    onModelChange(evt: any): void;
    scaleDataURL(dataURL: any, maxSizeRatio: any): Promise<unknown>;
}
//# sourceMappingURL=equation-editor.component.d.ts.map