/**
 * Locks body scroll when `isLocked` is true.
 *
 * Pins the body with `position: fixed` to prevent background scrolling,
 * which is necessary for iOS Safari where `overscroll-behavior: contain`
 * does not prevent body scroll behind modals. Restores scroll position
 * on unlock.
 *
 * Pinning also hides the document's scrollbar, so the gutter that scrollbar
 * occupied is held open for the duration of the lock — without it the page
 * reflows sideways by ~15px the moment an overlay opens.
 *
 * @example
 * ```
 * useScrollLock(isOpen);
 * ```
 */
export declare function useScrollLock(isLocked: boolean): void;
//# sourceMappingURL=useScrollLock.d.ts.map