* Note that composition always ends automatically with nothing to commit if the composition does not
* explicitly end by calling |endComposition|, but is interrupted by |sendKey|, |setSelectionRange|,
* |replaceSurroundingText|, |deleteSurroundingText|, user moving the cursor, or changing the focus, etc.
*/
Promise<boolean> endComposition(DOMString text);