/** * @returns A tupple of a `React.Ref` to attach to an element and an `AnimationLink` containing `x` and `y` viewport positions from `0` to `1`. * * @see {@link https://lively.infinityfx.dev/docs/hooks/use-viewport} */ export default function useViewport( /** * @default .5 */ threshold?: number): readonly [import("react").RefObject, import("..").AnimationLink<{ x: number; y: number; }, { x: number; y: number; }>];