/** * Locks body scroll when `locked` is true, restores when false or on unmount. * Preserves the original overflow value and prevents scroll-jump by * accounting for the scrollbar width. * * @param {boolean} locked - Whether to lock body scroll * * @example * const [drawerOpen, setDrawerOpen] = useState(false); * useScrollLock(drawerOpen); */ export declare function useScrollLock(locked: boolean): void;