import type { RefObject } from 'react'; /** * Hook to handle the click outside the referenced element * * @param {RefObject} ref - reference to the targeted element * @param {Function} callback - callback */ declare const useOutsideClick: (ref: RefObject, callback: () => void) => void; export default useOutsideClick;