import { ParticipantByGroupApi } from '../../../common/types/participant.types'; import { CommentMention } from '../../../components/comments/types'; export declare class AutoCompleteHandler { constructor(); private readonly keys; event: InputEvent; input: HTMLTextAreaElement; key: string; mentions: CommentMention[]; setInput(event: InputEvent): void; getMentions(input: any, mentions?: CommentMention[]): CommentMention[]; setMentions(mentions: any): void; addMention(mention: { userId: string; name: string; }): void; clearMentions(): void; getSelectionPosition(): { start: number; end: number; }; getSelectionStart(): number; setCaretPosition(index: any): void; getValue(): string; setValue(value: any): void; getLastKeyBeforeCaret(caretIndex: any): { key: string; keyIndex: number; }; searchMention(caretIndex: any, keyIndex: any): string; isDeletion(): boolean; insertMention(start: number, end: number, participant: ParticipantByGroupApi): void; }