import { RefObject } from 'react'; /** * Used to handle the outside interaction for popover-based components * e.g. dropdown, datepicker, date-range-picker, popover, select, autocomplete etc * @param element - the element outside of the popover ref, originally from `shouldCloseOnInteractOutside` * @param triggerRef - The trigger ref object * @param state - The state from the popover component * @returns - a boolean value which is same as shouldCloseOnInteractOutside */ declare const ariaShouldCloseOnInteractOutside: (element: Element, triggerRef: RefObject, state: any) => boolean; export { ariaShouldCloseOnInteractOutside };