import { RefObject } from 'react';
export interface UseClickOutsideProps {
    ref: RefObject<HTMLElement>;
    exclude?: Array<RefObject<HTMLElement>> | ((e: MouseEvent) => boolean);
    onClickOutside: () => void;
}
/**
 * A hooks that calls the provided callback when a click event occurs outside of the
 * provided ref.
 * @param ref - The ref to check for clicks outside of.
 * @param onClickOutside - The callback to call when a click event occurs outside of the
 * provided ref.
 */
export declare const useClickOutside: ({ ref, onClickOutside, exclude, }: UseClickOutsideProps) => void;
//# sourceMappingURL=useClickOutside.d.ts.map