import React from 'react'; /** * Registers global listener for all clicks. It will only call the PopupModel's `hide` event if the * click happened outside the `[role=dialog]` of an overlay component. The difference between `useCloseOnOutsideClick` * and `useCloseOnOverlayClick` is the Overlay is a child of a `stackRef` element and has a different */ export declare const useCloseOnOverlayClick: 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=useCloseOnOverlayClick.d.ts.map