import * as React from 'react'; import { type SpringOptions } from 'motion/react'; import { type IUseIsInViewOptions } from '../../../react-ui/hooks/DOM/UseIsInView'; /** Props for the CountingNumber primitive. */ type ICountingNumberProps = Omit, 'children'> & { /** Target number to animate to. */ number: number; /** Starting number (default: 0). */ fromNumber?: number; /** Pad integer part with leading zeros. */ padStart?: boolean; /** Decimal separator character. */ decimalSeparator?: string; /** Number of decimal places to show. */ decimalPlaces?: number; /** Spring transition options. */ transition?: SpringOptions; /** Delay in ms before animation starts. */ delay?: number; /** Start at target number instead of fromNumber. */ initiallyStable?: boolean; } & IUseIsInViewOptions; /** * CountingNumber primitive — animates a number from one value to another * using spring physics. Supports decimal places, padding, and in-view triggers. * * @param number - Target number to animate to * @param fromNumber - Starting number (default: 0) * @param transition - Spring physics options * @param inView - Only animate when in viewport * * @example * ```tsx * * ``` * * @example * ```tsx * * ``` */ declare function CountingNumber({ ref, number, fromNumber, padStart, inView, inViewMargin, inViewOnce, decimalSeparator, transition, decimalPlaces, delay, initiallyStable, ...props }: ICountingNumberProps): import("react/jsx-runtime").JSX.Element; export { CountingNumber, type ICountingNumberProps }; //# sourceMappingURL=index.d.ts.map