1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. export type TopLevelType =
    
  11.   | 'abort'
    
  12.   // Dynamic and vendor-prefixed at the usage site:
    
  13.   // 'animationiteration' |
    
  14.   // 'animationend |
    
  15.   // 'animationstart' |
    
  16.   | 'canplay'
    
  17.   | 'canplaythrough'
    
  18.   | 'cancel'
    
  19.   | 'change'
    
  20.   | 'click'
    
  21.   | 'close'
    
  22.   | 'compositionend'
    
  23.   | 'compositionstart'
    
  24.   | 'compositionupdate'
    
  25.   | 'contextmenu'
    
  26.   | 'copy'
    
  27.   | 'cut'
    
  28.   | 'dblclick'
    
  29.   | 'auxclick'
    
  30.   | 'drag'
    
  31.   | 'dragend'
    
  32.   | 'dragenter'
    
  33.   | 'dragexit'
    
  34.   | 'dragleave'
    
  35.   | 'dragover'
    
  36.   | 'dragstart'
    
  37.   | 'drop'
    
  38.   | 'durationchange'
    
  39.   | 'emptied'
    
  40.   | 'encrypted'
    
  41.   | 'ended'
    
  42.   | 'error'
    
  43.   | 'gotpointercapture'
    
  44.   | 'input'
    
  45.   | 'invalid'
    
  46.   | 'keydown'
    
  47.   | 'keypress'
    
  48.   | 'keyup'
    
  49.   | 'load'
    
  50.   | 'loadstart'
    
  51.   | 'loadeddata'
    
  52.   | 'loadedmetadata'
    
  53.   | 'lostpointercapture'
    
  54.   | 'mousedown'
    
  55.   | 'mousemove'
    
  56.   | 'mouseout'
    
  57.   | 'mouseover'
    
  58.   | 'mouseup'
    
  59.   | 'paste'
    
  60.   | 'pause'
    
  61.   | 'play'
    
  62.   | 'playing'
    
  63.   | 'pointercancel'
    
  64.   | 'pointerdown'
    
  65.   | 'pointerenter'
    
  66.   | 'pointerleave'
    
  67.   | 'pointermove'
    
  68.   | 'pointerout'
    
  69.   | 'pointerover'
    
  70.   | 'pointerup'
    
  71.   | 'progress'
    
  72.   | 'ratechange'
    
  73.   | 'reset'
    
  74.   | 'resize'
    
  75.   | 'scroll'
    
  76.   | 'scrollend'
    
  77.   | 'seeked'
    
  78.   | 'seeking'
    
  79.   | 'selectionchange'
    
  80.   | 'stalled'
    
  81.   | 'submit'
    
  82.   | 'suspend'
    
  83.   | 'textInput'
    
  84.   | 'timeupdate'
    
  85.   | 'toggle'
    
  86.   | 'touchcancel'
    
  87.   | 'touchend'
    
  88.   | 'touchmove'
    
  89.   | 'touchstart'
    
  90.   // Dynamic and vendor-prefixed at the usage site:
    
  91.   // 'transitionend' |
    
  92.   | 'volumechange'
    
  93.   | 'waiting'
    
  94.   | 'wheel'
    
  95.   | 'afterblur'
    
  96.   | 'beforeblur'
    
  97.   | 'focusin'
    
  98.   | 'focusout';