/// <reference types="react" />
/**
 * Custom hook that fires an onClick callback when the user clicks
 * outside of the element referenced by the returned ref.
 *
 * @param {function} onClick the callback fired when a click is performed "outside"
 * @returns a ref that should be used to mark the "inside" element
 */
declare const useClickOutside: (onClick: () => void) => import("react").MutableRefObject<any>;
export default useClickOutside;
