import type { RefObject } from "react";
interface ValidRefTarget {
    contains(target: EventTarget | null): boolean;
}
export declare function useOnClickOutside<T extends ValidRefTarget = HTMLDivElement>(ref: RefObject<T>, callback: () => void): void;
export {};
