import { EventEmitter } from '@angular/core';
import { NgForm } from '@angular/forms';
import { PoModalAction, PoModalComponent } from '../../../po-modal';
import { PoUploadFileRestrictions } from '../../po-upload/interfaces/po-upload-file-restriction.interface';
import { PoUploadComponent } from '../../po-upload/po-upload.component';
export declare class PoRichTextImageModalComponent {
    private readonly languageService;
    modal: PoModalComponent;
    modalImageForm: NgForm;
    upload: PoUploadComponent;
    size: string;
    command: EventEmitter<string | {
        command: string;
        value: string | any;
    }>;
    savedCursorPosition: any;
    selection: Selection;
    uploadModel: Array<any>;
    uploadRestrictions: PoUploadFileRestrictions;
    urlImage: string;
    readonly literals: any;
    modalCancelAction: PoModalAction;
    modalConfirmAction: PoModalAction;
    get isUploadValid(): boolean;
    get isUrlValid(): boolean;
    constructor();
    openModal(): void;
    private cleanUpFields;
    private convertToBase64;
    private emitCommand;
    private insertElementRef;
    private retrieveCursorPosition;
    private saveCursorPosition;
}
