import { RefObject } from 'react'; /** * Hook for detecting clicks outside of a specified element * @param handler - Function to call when click outside is detected * @param active - Whether the hook should be active (default: true) * @returns ref - Ref to attach to the element you want to detect clicks outside of */ export declare const useClickOutside: (handler: () => void, active?: boolean) => RefObject;