import { type View } from "react-native"; /** One notch or trackpad swipe, normalized. */ export interface WheelGesture { /** Scroll travel in PIXELS, whatever unit the browser reported. Positive scrolls * the page down, which reads as zooming out. */ deltaY: number; /** The pointer's position within the bound node, in pixels from its top-left. */ x: number; y: number; /** True for a trackpad pinch, which every browser reports as ctrl+wheel. */ pinch: boolean; } /** Scroll travel in pixels, whatever unit `deltaMode` says the browser used. */ export declare function normalizeWheelDelta(delta: number, deltaMode: number): number; /** * Wheel and trackpad-pinch zoom on the web: while `active`, a non-passive wheel listener * on the returned ref's node reports each gesture in pixels with the pointer's position, * and suppresses the page's scroll only when `onWheel` claims it. A no-op natively. */ export declare function useWheel( /** Subscribe only while true (pass the chart's own `zoomable`). */ active: boolean, /** Return TRUE to claim the gesture; only then is the page's own scroll suppressed. */ onWheel: (gesture: WheelGesture) => boolean): import("react").RefObject; //# sourceMappingURL=use-wheel.d.ts.map