export type BodyRangesType = Array<{ start: number; length: number; mentionUuid: string; replacementText: string; conversationID?: string; }>; export type RenderTextCallbackType = (options: { text: string; key: number; }) => JSX.Element | string; export type ReplacementValuesType = { [key: string]: string | undefined; }; export type LocalizerType = ( key: string, values?: Array | ReplacementValuesType ) => string;