import type { MotionValue } from "framer-motion/dom"; export interface CurrentMotionValue { readonly current: T; } /** * Creates a reactive wrapper around a MotionValue that provides a `current` getter, * similar to Svelte's native `Tween` and `Spring` classes. * * This allows you to use MotionValue in reactive contexts where `.get()` wouldn't * trigger reactivity. * * @example * ```svelte * * *

Current x: {reactiveX.current}

* ``` * * @param value - The MotionValue to make reactive * @returns An object with a reactive `current` getter */ export declare function useCurrentMotionValue(value: MotionValue): CurrentMotionValue;