import { type RefObject } from "react"; /** * Lets wheel events reach the map natively when a zoom gesture started on the * map and the cursor later moves over the panel overlay. * * Pass-through uses `data-wheel-pass-through` + CSS `pointer-events: none` so * the browser delivers trusted wheel events to the map underneath. It is armed * only while a map-originated wheel gesture is in progress — panel-initiated * wheels and all pointer interaction keep the panel fully interactive. * * Gesture ownership is decided on the first wheel tick of each burst (after an * idle gap): target inside the panel shell → panel; otherwise → map. A * `pointerdown` on the panel ends any map wheel gesture immediately so clicks * and drags on the panel always win. */ export declare const useWheelForwarding: (shellRef: RefObject, /** Re-run effects when the panel shell mounts or unmounts. */ isActive: boolean) => void;