export declare type AnimationType = { value: number; duration?: number; startValue?: number; enabled: boolean; direction?: 'both' | 'reverse' | 'forward'; iterationCount?: number | 'infinite'; easing?: 'linear'; }; export declare const useCounterAnimation: ({ value, duration, startValue, enabled, direction, iterationCount, easing, }: AnimationType) => number;