import { RefObject } from 'react'; export type MarqueeRect = { left: number; top: number; w: number; h: number; }; /** * Ctrl+wheel, two-finger pinch and marquee-drag zoom for the scroll container. * * Wheel and pinch share one live gesture: the content is scaled with a CSS transform * while the fingers move, and the real zoom is committed once at the end, anchored so * the point under the cursor stays put. * * `isProgrammaticScrollRef` is owned by the caller because its scroll listener has to * ignore the scroll positions these gestures set. */ export declare function useZoomGestures(scrollRef: RefObject, contentRef: RefObject, isProgrammaticScrollRef: RefObject): { marquee: MarqueeRect | null; };