/** * Locks the scroll of the document when enabled. * * @param enabled - Whether to enable the scroll lock. * @param referenceElement - Element to use as a reference for lock calculations. */ export declare function useScrollLock(enabled?: boolean, referenceElement?: Element | null): void;