import type { RefObject } from 'react'; /** * Hook that holds the page still while an element is shown, so the element cannot drift away from what it is anchored to. * * Wheel and touch scrolling outside the element are cancelled; inside it, they only scroll what can still scroll there in * their direction, and never carry over to the page. * * @param targetRef - the element that keeps scrolling * @param enabled - whether the page is held still * @public */ export declare const usePreventScrollOutside: (targetRef: RefObject, enabled?: boolean) => void; //# sourceMappingURL=usePreventScrollOutside.d.ts.map