import { RefObject } from 'react';
type AnyEvent = MouseEvent | TouchEvent;
/**
 * TODO: Documentar
 */
declare function useOnClickOutside<T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: AnyEvent) => void, noRef?: RefObject<T>): void;
export default useOnClickOutside;
//# sourceMappingURL=index.d.ts.map