import { MutableRefObject } from 'react';
type Callback = (e: MouseEvent) => void;
export declare const initSharedOutSideClickListener: () => void;
/** require the use of initSharedOutSideClickListener once, anywhere globally  */
export declare const useSharedOutsideClick: (ref: MutableRefObject<any>, callback: Callback) => void;
export declare const useOutsideClick: (ref: MutableRefObject<any>, callback: (e: MouseEvent) => void) => void;
export {};
