import { EventEmitter } from '@angular/core'; import { AbstractTuiEditor } from '@taiga-ui/addon-editor/abstract'; import { TuiEditorLinkPrefix, TuiEditorLinkProtocol } from '@taiga-ui/addon-editor/constants'; import { TUI_EDITOR_LINK_TEXTS, TuiEditorOptions } from '@taiga-ui/addon-editor/tokens'; import { TuiInjectionTokenType } from '@taiga-ui/cdk'; import * as i0 from "@angular/core"; export declare class TuiEditLinkComponent { private readonly doc; readonly texts$: TuiInjectionTokenType; private readonly editor; private readonly options; private isOnlyAnchorMode; readonly addLink: EventEmitter; readonly removeLink: EventEmitter; url: string; edit: boolean; prefix: TuiEditorLinkPrefix; anchorIds: string[]; constructor(doc: Document, texts$: TuiInjectionTokenType, editor: AbstractTuiEditor, options: TuiEditorOptions); get defaultProtocol(): TuiEditorLinkProtocol; set anchorMode(mode: boolean); get anchorMode(): boolean; get prefixIsHashMode(): boolean; get hasUrl(): boolean; get href(): string; get showAnchorsList(): boolean; private get isViewMode(); onSelectionChange(): void; onMouseDown(event: MouseEvent): void; setAnchor(anchor: string): void; changePrefix(isPrefix: boolean): void; onSave(): void; onBackspace(): void; onEdit(): void; onRemove(): void; onChange(url: string): void; onClear(): void; private makeDefaultPrefix; private detectAnchorMode; private getFocusedParentElement; private getAnchorElement; private getHrefOrAnchorId; private removePrefix; private getAllAnchorsIds; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }