import { type RefObject } from 'react'; import type { InteractionMode } from '../components/interactions-overlay/types.js'; /** * A custom React hook that prevents the default scrolling behavior of the page * when the Command (Mac), Control (Windows), or Option/Alt key is pressed while * using the mouse wheel. * * @param targetRef - An optional React ref object pointing to a target HTMLDivElement * or SVGRectElement. If not provided, the event listener will be attached to the * document. * @param mode - The active interaction mode. When `pan` or `zoom` is active, wheel * events are consumed regardless of modifier keys. Defaults to `explore`, where only * a temporary modifier (Alt / Cmd / Ctrl) consumes the event. */ export declare function usePreventScrollOnWheel(targetRef?: RefObject, mode?: InteractionMode): void; //# sourceMappingURL=usePreventScrollOnWheel.d.ts.map