/// <reference types="react" />
/**
 * Allows for hiding an element when a user clicks outside of a given element 'ref'
 */
export declare const useHideOnLostFocus: <T extends HTMLElement>() => {
    ref: import("react").RefObject<T>;
    isComponentVisible: boolean;
    setIsComponentVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
};
