import React from 'react'; /** * Disables body scroll by adding `overflow: hidden` to the body element. This effectively prevents * page scrolling while the popup is visible. * * This should be used with popup elements that hide all other content and force the user to accept * or dismiss the popup before continuing (i.e. Modals). */ export declare const useDisableBodyScroll: import("@workday/canvas-kit-react/common").BehaviorHook<{ state: { stackRef: React.RefObject; targetRef: React.RefObject; initialFocusRef: React.RefObject | undefined; returnFocusRef: React.RefObject | undefined; placement: import("@popperjs/core").Placement; id: string; visibility: "hidden" | "visible"; }; events: { updatePlacement(data: { placement: import("@popperjs/core").Placement; }): void; show(event?: Event | React.SyntheticEvent | undefined): void; hide(event?: Event | React.SyntheticEvent | undefined): void; }; }, {}>; //# sourceMappingURL=useDisableBodyScroll.d.ts.map