// Referenced react-use-gesture for which handlers to include. // MIT https://github.com/pmndrs/use-gesture export type ReactDOMEventHandlers = { onMouseDown?: React.MouseEventHandler; onMouseDownCapture?: React.MouseEventHandler; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; onMouseMove?: React.MouseEventHandler; onMouseMoveCapture?: React.MouseEventHandler; onMouseOut?: React.MouseEventHandler; onMouseOutCapture?: React.MouseEventHandler; onMouseOver?: React.MouseEventHandler; onMouseOverCapture?: React.MouseEventHandler; onMouseUp?: React.MouseEventHandler; onMouseUpCapture?: React.MouseEventHandler; onTouchCancel?: React.TouchEventHandler; onTouchCancelCapture?: React.TouchEventHandler; onTouchEnd?: React.TouchEventHandler; onTouchEndCapture?: React.TouchEventHandler; onTouchMove?: React.TouchEventHandler; onTouchMoveCapture?: React.TouchEventHandler; onTouchStart?: React.TouchEventHandler; onTouchStartCapture?: React.TouchEventHandler; onPointerDown?: React.PointerEventHandler; onPointerDownCapture?: React.PointerEventHandler; onPointerMove?: React.PointerEventHandler; onPointerMoveCapture?: React.PointerEventHandler; onPointerUp?: React.PointerEventHandler; onPointerUpCapture?: React.PointerEventHandler; onPointerCancel?: React.PointerEventHandler; onPointerCancelCapture?: React.PointerEventHandler; onPointerEnter?: React.PointerEventHandler; onPointerEnterCapture?: React.PointerEventHandler; onPointerLeave?: React.PointerEventHandler; onPointerLeaveCapture?: React.PointerEventHandler; onPointerOver?: React.PointerEventHandler; onPointerOverCapture?: React.PointerEventHandler; onPointerOut?: React.PointerEventHandler; onPointerOutCapture?: React.PointerEventHandler; onGotPointerCapture?: React.PointerEventHandler; onGotPointerCaptureCapture?: React.PointerEventHandler; onLostPointerCapture?: React.PointerEventHandler; onLostPointerCaptureCapture?: React.PointerEventHandler; onScroll?: React.UIEventHandler; onScrollCapture?: React.UIEventHandler; onWheel?: React.WheelEventHandler; onWheelCapture?: React.WheelEventHandler; onClick?: React.MouseEventHandler; onClickCapture?: React.MouseEventHandler; onKeyDown?: (e: React.KeyboardEvent) => void; onKeyDownCapture?: (e: React.KeyboardEvent) => void; onKeyUp?: (e: React.KeyboardEvent) => void; onKeyUpCapture?: (e: React.KeyboardEvent) => void; onKeyPress?: (e: React.KeyboardEvent) => void; onKeyPressCapture?: (e: React.KeyboardEvent) => void; // Special, not handled by React's event system onBeforeInput?: (e: InputEvent) => void; };