/// <reference types="react" />
export default function useComponentVisible(isActive: boolean, initialIsVisible: boolean, onVisibilityChange?: any): {
    ref: import("react").MutableRefObject<HTMLDivElement>;
    isComponentVisible: boolean;
    setIsComponentVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
};
