import { type RefObject } from 'react'; /** * Fires callback when click is outside target element(s). * @param elementRef Ref (or ref list) with target element(s). * @param callback Callback that will be called when click is outside target elements. */ export declare function useOutsideClick(elementRef: RefObject | RefObject[], callback?: (event: MouseEvent) => void): void;