import type { MentionConfig } from './types'; import { type MentionWalk } from './walk-mentions'; export interface MentionsSelection { selectionStartBefore: number; selectionEndBefore: number; selectionEndAfter: number; } export interface ApplyChangeResult { value: string; removedMention: boolean; caretPlainTextIndex: number; } export declare function applyChangeToValue(walk: MentionWalk, plainTextValue: string, selection: MentionsSelection, configs: MentionConfig[]): ApplyChangeResult;