/** * @returns A tupple of a `React.Ref` to attach to an element, a `number` counting the number of times the element has entered the viewport and a `number` counting the number of times the element has left the viewport. * * @see {@link https://lively.infinityfx.dev/docs/hooks/use-visible} */ export default function useVisible( /** * @default .5 */ threshold?: number): readonly [import("react").RefObject, number, number];