import { EventEmitter, type OnInit } from '@angular/core'; import { type AbstractTuiEditor, type TuiEditorLinkPrefix, type TuiEditorLinkProtocol } from '@taiga-ui/editor/common'; import * as i0 from "@angular/core"; export declare class TuiEditLink implements OnInit { private readonly injectionEditor; private readonly doc; private isOnlyAnchorMode; protected readonly options: import("@taiga-ui/editor/common").TuiEditorOptions; protected url: string; protected edit: boolean; protected prefix: TuiEditorLinkPrefix | undefined; protected anchorIds: string[]; protected readonly texts$: import("rxjs").Observable<{ anchorExample: string; urlExample: string; }>; inputEditor: AbstractTuiEditor | null; link?: string; explicitOnlyLinkEdit: boolean; readonly addLink: EventEmitter; readonly removeLink: EventEmitter; set anchorMode(mode: boolean); get anchorMode(): boolean; ngOnInit(): void; protected get editor(): AbstractTuiEditor | null; protected get defaultProtocol(): TuiEditorLinkProtocol; protected get prefixIsHashMode(): boolean; protected get hasUrl(): boolean; protected get href(): string; protected get showAnchorsList(): boolean; protected onSelectionChange(): void; protected onMouseDown(event: MouseEvent): void; protected setAnchor(anchor: string): void; protected changePrefix(useHash: boolean): void; protected onSave(): void; protected onBackspace(): void; protected onEdit(): void; protected onRemove(): void; protected onChange(url: string): void; protected onBlur(url: string): void; protected onClear(): void; private get isViewMode(); private makeDefaultPrefix; private detectAnchorMode; private getFocusedParentElement; private getAnchorElement; private getHrefOrAnchorId; private removePrefix; private getAllAnchorsIds; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }