/** * Finds the index of the next word in a text starting from a given index. * @param text - The text to search. * @param startIndex - The index to start searching from. * @returns the start index of the next word or the end of the text. * @internal */ export declare const findNextWordIndex: (text: string, startIndex: number) => number; /** * Finds the index where two strings first differ. * @param oldText - The already rendered string. * @param newText - The new string to be rendered. * @returns the index where strings first differ. * @internal */ export declare const findFirstDiffIndex: (oldText: string, newText: string) => number;