import * as React from 'react'; export interface UseOutsideClickProps { ref: React.RefObject; handler?: (e: MouseEvent | TouchEvent) => void; } type UseOutsideClickType = (props: UseOutsideClickProps) => void; /** * Hook for observing clicks outside a given target * * @param ref - purpose of observation * @param handler - callback when a click is triggered outside the observation target * * @return - nothing */ export declare const useOutsideClick: UseOutsideClickType; export {};