import { ElementRef, EventEmitter, OnInit } from '@angular/core';
import { NgForm } from '@angular/forms';
import { PoModalAction, PoModalComponent } from '../../../po-modal';
export declare class PoRichTextLinkModalComponent implements OnInit {
    private readonly languageService;
    modal: PoModalComponent;
    modalLinkForm: NgForm;
    size: string;
    command: EventEmitter<string | {
        command: string;
        value: string | any;
    }>;
    linkEditing: EventEmitter<any>;
    savedCursorPosition: any;
    selection: Selection;
    urlLink: string;
    urlLinkText: string;
    readonly literals: any;
    modalCancelAction: PoModalAction;
    modalConfirmAction: PoModalAction;
    private isLinkEditing;
    private isSelectedLink;
    private linkElement;
    private savedSelection;
    constructor();
    ngOnInit(): void;
    linkConfirmAction(): string;
    formModelValidate(): boolean;
    openModal(selectedLinkElement: ElementRef): void;
    private selectedLink;
    private checkIfIsEmpty;
    private cleanUpFields;
    private formReset;
    private prepareModalForLink;
    private restoreSelection;
    private retrieveCursorPosition;
    private saveCursorPosition;
    private saveSelectionText;
    private setLinkEditableForModal;
    private setModalCancelAction;
    private setModalConfirmAction;
    private toEditLink;
    private toInsertLink;
}
