declare module "react" { interface CSSProperties { "--rmd-scrollbar-size"?: string; } } export declare const SCROLLBAR_SIZE_VAR = "--rmd-scrollbar-size"; /** * Used to enable scroll locking on the entire page. * * @see {@link https://react-md.dev/hooks/use-scroll-lock | useScrollLock Demos} * @since 6.0.0 No longer support scroll locking elements other than * the `document.body` since it's more reliable to scroll lock with an overlay. * @since 6.0.0 Now applies `paddingRight` equal to the current OS's * scrollbar width if there is a full page scrollbar to prevent layout shifting. * * @param locked - The `document.body` will not be scrollable when this is * `true`. */ export declare function useScrollLock(locked: boolean): void;