export interface FormatRollingValueOptions { /** Number of decimal places to render. Omit to keep the value's own precision. */ decimalScale?: number; /** Pad the decimal part with zeros up to `decimalScale`. */ fixedDecimalScale?: boolean; /** `true` for `,`, or an explicit separator string. */ thousandSeparator?: boolean | string; /** Character between the integer and decimal parts. Default `.`. */ decimalSeparator?: string; } /** * Renders a number the way the component should display it. * * Kept free of React so the digit-splitting logic and its edge cases (negative * zero, exponent notation, fixed decimals) are testable on their own. */ export declare const formatRollingValue: (value: number, options?: FormatRollingValueOptions) => string; export interface RollingCell { /** Stable identity across renders — digits keep their place value. */ key: string; char: string; isDigit: boolean; /** * Place value: `0` is the ones column, `1` the tens, `-1` the tenths. Digits * are keyed by this rather than by string index so crossing a magnitude * (`999` → `1,000`) does not renumber every column and restart its animation. */ place: number; } /** Splits a formatted number into animated digit cells and static separators. */ export declare const toRollingCells: (formatted: string, decimalSeparator?: string) => RollingCell[];