/** * Prevents scrolling on the document body. * * @remarks * This hook sets `overflow: hidden` on the document body when active. * It also compensates for the scrollbar width to prevent layout shifts. * * @param prevent - Whether to prevent scrolling (default: true). * * @example * ```tsx * usePreventScroll(isModalOpen); * ``` */ export declare function usePreventScroll(prevent?: boolean): void;