export interface FormatMoneyOptions { locale?: string; currency?: string; /** Abbreviate for display density — in the LOCALE's own words: `vi` gets * "1,28 tỷ ₫" / "486 tr ₫", everywhere else gets Intl's compact currency * ("$1.2M"). For stat strips/cards where the full figure lives in the table * below — never for the table itself. */ compact?: boolean; /** Significant digits below the currency's minor unit. `Intl`'s currency * style floors at that unit — 2 for USD — so a genuine per-unit price like * an LCL rate of 0,019 US$/kg renders as `0,02`: a 5% error, printed as * fact, with nothing on screen saying it was rounded. Set this on a UNIT * price; leave it off for a total, where two decimals is the contract. */ maxFractionDigits?: number; } /** * A magnitude abbreviated IN THE READER'S OWN LANGUAGE: `vi` gets its own * words (≥1 tỷ → "1,28 tỷ", ≥1 triệu → "486 tr"), every other locale gets * Intl's compact notation ("1.2M", "486K"). Smaller values render in full. * Bare numbers only — for money, use `formatMoney` with `compact`. * * `tỷ` and `tr` are Vietnamese WORDS, so they belong to a Vietnamese locale * and nowhere else: appending them under `en-US` printed "1 tr USD" on a US * register, which reads as a typo rather than as a number. A locale Intl has * no compact form for falls back to grouped digits — long, and never foreign. */ export declare function formatCompactNumber(value: number, locale?: string): string; /** * THE money formatter — `Metric` (and through it `MetricStrip`) * delegates here; table cells and captions call it directly. Defaults to * the product's home market: `1.234.567 ₫`. Never hand-roll digit grouping * or the ₫ suffix. */ export declare function formatMoney(value: number, options?: FormatMoneyOptions): string;