import type { CurrencyNumberFormatStyle } from "./CurrencyNumberFormatStyle.js"; import type { UnitNumberFormatStyle } from "./UnitNumberFormatStyle.js"; /** * The `style` family of a numeric column's `number_format` — serialized * FLATTENED into [`CustomNumberFormatConfig`]'s object, discriminated by * the `style` key (`"decimal"` default, `"currency"` + `currency`/ * `currencyDisplay`/`currencySign`, `"percent"`, `"unit"` + `unit`/ * `unitDisplay`), mirroring `Intl.NumberFormat` options. */ export type NumberFormatStyle = { "style": "decimal"; } | { "style": "currency"; } & CurrencyNumberFormatStyle | { "style": "percent"; } | { "style": "unit"; } & UnitNumberFormatStyle;