import React from 'react'; type Direction = 'horizontal' | 'vertical' | 'both'; export interface UseScrollLockProps { /** * Ref of element on which scroll will be locked * @default document?.body */ ref?: React.RefObject; /** * @default true */ isLocked?: boolean; /** * Which scroll dirction to lock * @default both */ direction?: Direction; } export declare const useScrollLock: (props?: UseScrollLockProps) => void; export {}; //# sourceMappingURL=index.d.ts.map