import { type ArkmeMessageQuote, type ArkmeQuoteSource } from '../message-quote.js'; import type { ArkmeRecordReeditMention } from '../record-reedit-contract.js'; export interface MessageTextReplacement { start: number; end: number; original: string; markdown: boolean; } /** Map rendered UTF-16 positions back to wire text, never search for the first matching word. */ export declare function resolveMessageTextReplacement(item: ArkmeQuoteSource, quote: ArkmeMessageQuote): MessageTextReplacement; export declare function applyMessageTextReplacement(source: string, range: MessageTextReplacement, value: string, mentions?: readonly ArkmeRecordReeditMention[]): { text: string; mentions: { originalIndex?: number; mentionRef?: string; botRef?: string; all?: boolean; displayName: string; startIndex: number; length: number; }[]; }; //# sourceMappingURL=message-text-replacement.d.ts.map