import { RefObject } from 'react';
interface UseOutsideClickOptions {
    eventType?: 'click' | 'mousedown' | 'touchstart';
    enabled?: boolean;
}
/**
 * Hook that triggers callback when clicking outside a referenced element
 * Optimized for performance with better event handling
 */
export default function useOutsideClick(el: RefObject<HTMLElement | null>, callback: () => void, options?: UseOutsideClickOptions): void;
export {};
