import React from 'react'; /** * React hook to lock scrolling on the `body` element * * @param ref the target element to preserve after lock * @param shouldLock if `true`, scroll lock will be applied */ export declare function useLockBodyScroll(ref: React.RefObject, shouldLock?: boolean, reserveScrollBarGap?: boolean): void;