import { type RefObject } from "react";
import { type GenericEventCallback } from "../../types/events";
export default function useClickOutside({ ref, callback, ignoreClasses, eventName }: {
    ref: RefObject<HTMLElement>;
    callback: GenericEventCallback;
    ignoreClasses?: string[];
    eventName?: keyof HTMLElementEventMap | string;
}): void;
