/**
 * Temporary updates the highlight overlay to reflect the changes between two text strings,
 * waiting for the actual update to be applied. This way, the user can immediately see the changes,
 * without a delay of around ~100ms. This makes the UI feel more responsive.
 * @param from Previous text.
 * @param to Current text.
 * @param currentHTML Current HTML content of the overlay.
 */
export declare function speculativeHighlightUpdate(from: string, to: string, currentHTML: string): string;
