import { EventEmitter } from '@angular/core'; import { TuiInjectionTokenType } from '@taiga-ui/cdk'; import { AbstractTuiEditor } from '@tinkoff/tui-editor/abstract'; import { TuiEditorLinkPrefix, TuiEditorLinkProtocol } from '@tinkoff/tui-editor/constants'; import { TUI_EDITOR_LINK_TEXTS, TuiEditorOptions } from '@tinkoff/tui-editor/tokens'; import * as i0 from "@angular/core"; export declare class TuiEditLinkComponent { private readonly doc; readonly texts$: TuiInjectionTokenType; readonly injectionEditor: AbstractTuiEditor | null; readonly options: TuiEditorOptions; private isOnlyAnchorMode; inputEditor: AbstractTuiEditor | null; readonly addLink: EventEmitter; readonly removeLink: EventEmitter; url: string; edit: boolean; prefix: TuiEditorLinkPrefix; anchorIds: string[]; constructor(doc: Document, texts$: TuiInjectionTokenType, injectionEditor: AbstractTuiEditor | null, options: TuiEditorOptions); get editor(): AbstractTuiEditor | null; 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(useHash: 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; }