import { type MotionValue } from "motion/react"; /** Return value of the useParallax hook. */ export interface ParallaxValue { /** Normalized scroll progress (0–1) of the page. */ scrollY: MotionValue; /** Mouse X position (0–1, normalized to viewport width). */ mouseX: MotionValue; /** Mouse Y position (0–1, normalized to viewport height). */ mouseY: MotionValue; } /** * Returns motion values for scroll position and mouse position. * * - `scrollY`: 0 at top, 1 at bottom of document * - `mouseX`/`mouseY`: 0–1 normalized to viewport dimensions * - Use with `useTransform` to derive parallax offsets * * @returns {ParallaxValue} Motion values for scroll and mouse position * * @example * const { scrollY } = useParallax(); * const y = useTransform(scrollY, [0, 1], [0, -100]); */ export declare function useParallax(): ParallaxValue;