export declare const useClickOutside: (elements: (HTMLElement | null | undefined)[], handler: (event: MouseEvent) => void) => void; export declare const useFocusOutside: (elements: (HTMLElement | null | undefined)[], handler: (event: FocusEvent) => void) => void; export declare const useDocumentEventListener: (type: K, listener: (ev: DocumentEventMap[K]) => void) => void; /** * Compares a value with its previous self and only returns an updated copy if _.isEqual returns false * @param {any} value the value to watch for changes * @returns the input value, referentially equal unless it changes */ export declare const useMemoizedValue: (value: T) => T;