import { type RefObject } from 'react'; type UseOnClickOutsideOptions = { /** * Whether or not a click outside the element can be performed */ ignoreRefs?: RefObject[]; /** * Elements to Ignore Determination */ disabled?: boolean; }; /** * Hooks to detect clicks outside the element specified by ref * * {@link https://usehooks.com/useOnClickOutside/} * * @param ref - target element * * @param handler - Function to be executed when a click is detected * * @param options - An object of the following properties: ignoreRefs, disabled */ export declare const useOnClickOutside: (ref: RefObject, handler: EventListener, options?: UseOnClickOutsideOptions) => void; export {};