import type { ElementTarget } from "../use-target-element/index.cjs"; export interface UseClickOutsideOptions { /** * List of elements that should not trigger the event. */ ignore?: ElementTarget[]; } export type UseClickOutsideHandler = (evt: MouseEvent | PointerEvent) => void; /** * A React Hook that allows you to detect clicks outside of a specified element. */ export declare function useClickOutside(target: ElementTarget, handler: UseClickOutsideHandler, options?: UseClickOutsideOptions): void;