import type { Pausable } from "../use-pausable/index.cjs"; export interface UseSpringValueConfig { /** * The stiffness of the spring. */ stiffness?: number; /** * The damping of the spring. */ damping?: number; /** * The mass of the spring. */ mass?: number; /** * The precision of the spring. */ immediate?: boolean; /** * The precision of the spring. */ precision?: number; } export interface UseSpringValueReturns extends Pausable { /** * The current value of the spring. */ value: number; /** * Restart the spring. */ restart(): void; } /** * A React Hook that returns a **spring value**. * * Spring Value: A dynamic value that simulate a spring physics changed with time. */ export declare function useSpringValue(start: number, end: number, config?: UseSpringValueConfig): UseSpringValueReturns;