import type { MaybeElementRef } from '../../types/shared/utils'; interface LockScrollOptions { /** Whether to keep looking up the ancestor chain when the anchor itself does not scroll. */ walkAncestors?: boolean; } /** Locks the scroll container that `target` sits in. */ export declare function useLockScroll(target: MaybeElementRef, options?: LockScrollOptions): { isLocked: () => boolean; lockScroll: () => void; unlockScroll: () => void; }; export {};