import { AffectedMentionIndexes, Mentions, Message, Selection } from './types'; declare const arrayInsertAt: (pos: number, value: T, arr: T[]) => T[]; declare const stringReplace: (from: number, to: number, value: string, str: string) => string; declare const deserialize: (message: Message) => [string, Mentions]; declare const serialize: (text: string, mentions: Mentions) => Message; declare const getAffectedMentionIndexes: (selection: Selection, mentions: Mentions) => AffectedMentionIndexes; export { arrayInsertAt, stringReplace, deserialize, serialize, getAffectedMentionIndexes };