import { RefObject } from "react"; /** Calls onClose when a pointerdown occurs outside both the container ref and a popover element. */ export declare function useOutsideClickClose({ enabled, containerRef, popoverElementId, onClose, }: { enabled: boolean; containerRef: RefObject; popoverElementId: string; onClose: () => void; }): void;