import { HTMLAttributes } from 'react';
export type AnimatedNumberProps = HTMLAttributes<HTMLSpanElement> & {
    /**
     * The start value.
     */
    start: number;
    /**
     * The end value.
     */
    end: number;
    /**
     * A prefix to be added to the final string.
     */
    prefix?: string;
    /**
     * A unit suffix to be added to the final string.
     */
    unit?: string;
    /**
     * The speed in milliseconds to count up or down.
     *
     * @default 10
     */
    speed?: number;
    /**
     * Enables to count backwards.
     *
     * @default false
     */
    decreasing?: boolean;
    /**
     * Callback function to be invoked when the end value is reached.
     */
    onEnd?: VoidFunction;
    /**
     * Additional classes to be set on the wrapping element.
     */
    className?: string;
};
export declare const AnimatedNumber: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & {
    /**
     * The start value.
     */
    start: number;
    /**
     * The end value.
     */
    end: number;
    /**
     * A prefix to be added to the final string.
     */
    prefix?: string;
    /**
     * A unit suffix to be added to the final string.
     */
    unit?: string;
    /**
     * The speed in milliseconds to count up or down.
     *
     * @default 10
     */
    speed?: number;
    /**
     * Enables to count backwards.
     *
     * @default false
     */
    decreasing?: boolean;
    /**
     * Callback function to be invoked when the end value is reached.
     */
    onEnd?: VoidFunction;
    /**
     * Additional classes to be set on the wrapping element.
     */
    className?: string;
} & import('react').RefAttributes<HTMLSpanElement>>;
export default AnimatedNumber;
