/** What a character in the amount is, which is what decides how it moves. */ export type AmountGlyphKind = 'prefix' | 'placeholder' | 'digit' | 'separator'; export interface AmountGlyph { /** Identity across renders: what mounts is what animates in. */ key: string; char: string; kind: AmountGlyphKind; } /** * The amount split into the characters that animate independently. * * Keys are what mount and unmount, so they decide what animates. Digits (and * the decimal point) are keyed by their position among themselves, skipping * group separators — so `555 → 5,555` keeps every digit's identity and only * mounts the typed digit. A separator's key carries its slot AND the integer * digit count, so growing the integer part remounts every comma: commas * dissolve and reappear at their new slots rather than sliding sideways through * the digits (they sit at grid positions, not in the digit stream). The * fraction is not in that count — typing cents leaves the commas where they are. */ export declare function amountGlyphs(value: string, prefix: string): AmountGlyph[]; //# sourceMappingURL=amountGlyphs.d.ts.map