import type { MentionConfig } from './types'; export interface MentionSpan { markupStart: number; markupEnd: number; sourceIndex: number; id: string; display: string; trigger: string; plainStart: number; plainEnd: number; rendered: string; } export interface MentionWalk { value: string; plainText: string; spans: MentionSpan[]; } export declare function getMentionPlainText(config: MentionConfig, id: string, display: string): string; export declare function walkMentions(value: string, configs: MentionConfig[]): MentionWalk;