/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { AfterViewInit, ElementRef, EventEmitter, ExistingProvider, OnDestroy } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { OnChangeType, OnTouchedType } from '@ui-vts-kit/ng-vts/core/types'; import { Mention } from './mention.component'; import { VtsMentionService } from './mention.service'; import * as i0 from "@angular/core"; export declare const VTS_MENTION_TRIGGER_ACCESSOR: ExistingProvider; export declare class VtsMentionTriggerDirective implements ControlValueAccessor, OnDestroy, AfterViewInit { el: ElementRef; private vtsMentionService; onChange: OnChangeType; onTouched: OnTouchedType; readonly onFocusin: EventEmitter; readonly onBlur: EventEmitter; readonly onInput: EventEmitter; readonly onKeydown: EventEmitter; readonly onClick: EventEmitter; value?: string; constructor(el: ElementRef, vtsMentionService: VtsMentionService); completeEvents(): void; focus(caretPos?: number): void; insertMention(mention: Mention): void; writeValue(value: string): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => void): void; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }