import { RefObject } from 'react';
/**
 * Custom hook that handles clicks outside of the specified element
 * @param ref The reference to the element to detect clicks outside of
 * @param handler The callback function to execute when a click outside is detected
 */
export declare const useClickOutside: <T extends HTMLElement | null>(ref: RefObject<T>, handler: (event: MouseEvent | TouchEvent) => void) => void;
