import { RefObject } from 'react';
interface UseClickOutsideOptions {
    isActive?: boolean;
    disabled?: boolean;
    excludeSelectors?: string[];
    onOutsideClick: () => void;
}
interface UseClickOutsideWithGlobalOptions extends UseClickOutsideOptions {
    elementRef: RefObject<HTMLElement>;
    containerRef?: RefObject<HTMLElement>;
    /** Nodos extra que cuentan como “dentro” (p. ej. trigger externo del Popup). */
    extraInsideRefs?: RefObject<HTMLElement | null>[];
    elementId?: string;
    elementType?: string;
    closeOnClickOutside?: boolean;
    disableSameTypeCheck?: boolean;
}
export declare const useClickOutside: (isActive: boolean, elementRef: RefObject<HTMLElement>, onOutsideClick: () => void, disabled?: boolean) => void;
export declare const useClickOutsideWithGlobal: ({ isActive, disabled, elementRef, containerRef, extraInsideRefs, elementId, elementType, closeOnClickOutside, excludeSelectors, onOutsideClick, disableSameTypeCheck, }: UseClickOutsideWithGlobalOptions) => void;
export {};
//# sourceMappingURL=useClickOutside.d.ts.map