import { ElementRef, OnDestroy, OnInit } from '@angular/core'; import { AbstractControl, FormGroup } from '@angular/forms'; import { Observable } from 'rxjs'; import { SCWysiwygMenuService } from '../sc-wysiwyg-menu.service'; import { TranslateService } from '@ngx-translate/core'; import { SCWysiwygMenuIconService } from '../sc-wysiwyg-menu-icon.service'; import * as i0 from "@angular/core"; export interface LinkOptions { showOpenInNewTab: boolean; } export declare class SCWysiwygLinkComponent implements OnInit, OnDestroy { private el; private scWysiwygMenuIconService; private menuService; private translateService; onDocumentClick(e: MouseEvent): void; options: Partial; showPopup: boolean; isActive: boolean; canExecute: boolean; private componentId; form: FormGroup; private editorView; private updateSubscription; get icon(): any; get title(): Observable; get href(): AbstractControl; get text(): AbstractControl; constructor(el: ElementRef, scWysiwygMenuIconService: SCWysiwygMenuIconService, menuService: SCWysiwygMenuService, translateService: TranslateService); ngOnInit(): void; ngOnDestroy(): void; getId(name: string): string; getLabel(key: string): Observable; private hidePopup; togglePopup(): void; onTogglePopupMouseClick(e: MouseEvent): void; onTogglePopupKeydown(): void; private setText; private update; insertLink(e: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }