import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { AbstractControl, FormGroup } from '@angular/forms';
import { NgxEditorService } from '../../../editor.service';
import { MenuService } from '../menu.service';
import * as i0 from "@angular/core";
export declare class LinkComponent implements OnInit, OnDestroy {
    private el;
    private ngxeService;
    private menuService;
    showPopup: boolean;
    isActive: boolean;
    canExecute: boolean;
    form: FormGroup;
    private editorView;
    private updateSubscription;
    constructor(el: ElementRef, ngxeService: NgxEditorService, menuService: MenuService);
    get icon(): string;
    get title(): string;
    get href(): AbstractControl;
    get text(): AbstractControl;
    onDocumentClick(e: MouseEvent): void;
    getLabel(key: string): string;
    private hideForm;
    onMouseDown(e: MouseEvent): void;
    private setText;
    private update;
    insertLink(e: MouseEvent): void;
    ngOnInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "ngx-link", never, {}, {}, never, never, false>;
}
