declare class ReactWheelHandler { /** * onWheel is the callback that will be called with right frame rate if * any wheel events happened * onWheel should is to be called with two arguments: deltaX and deltaY in * this order */ constructor( // eslint-disable-next-line @typescript-eslint/ban-types onWheel: Function, // eslint-disable-next-line @typescript-eslint/ban-types handleScrollX: boolean | Function, // eslint-disable-next-line @typescript-eslint/ban-types handleScrollY: boolean | Function, // eslint-disable-next-line @typescript-eslint/ban-types stopPropagation?: boolean | Function, ); onWheel(event: any): void; _didWheel(): void; } declare namespace ReactWheelHandler {} export = ReactWheelHandler;