type UseCountUpOptions = { /** Animation duration in ms. Default 700. */ duration?: number; /** Delay before animation starts in ms. Useful for staggering. Default 0. */ delay?: number; /** When false, skips animation and returns the target immediately. */ enabled?: boolean; }; /** * Animates a numeric value from its previous value (or 0 on first mount) to the * target using requestAnimationFrame and ease-out cubic timing. Returns the * current in-flight value each render so the caller can format it as needed. * * - Pass `null` or `undefined` while data is loading; the hook holds the value * at 0 and won't fire the animation until a real target arrives. * - When the target changes, the next animation runs from the value currently * on screen to the new one (e.g. a re-fetched stat eases onward from * mid-flight rather than jumping back to the prior target first). */ export declare const useCountUp: (target: number | null | undefined, options?: UseCountUpOptions) => number; export {};