import WebAwesomeElement from '../../internal/webawesome-element.js'; /** * @summary Formats a number for display using the specified locale and options, including currency, percent, and unit * styles. Powered by the Intl.NumberFormat API. * @documentation https://webawesome.com/docs/components/format-number * @status stable * @since 2.0 */ export default class WaFormatNumber extends WebAwesomeElement { static get styles(): never[]; private readonly localize; /** The number to format. */ value: number; /** The formatting style to use. */ type: 'currency' | 'decimal' | 'percent'; /** Turns off grouping separators. */ withoutGrouping: boolean; /** The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting. */ currency: string; /** How to display the currency. */ currencyDisplay: 'symbol' | 'narrowSymbol' | 'code' | 'name'; /** The minimum number of integer digits to use. Possible values are 1-21. */ minimumIntegerDigits: number; /** The minimum number of fraction digits to use. Possible values are 0-100. */ minimumFractionDigits: number; /** The maximum number of fraction digits to use. Possible values are 0-100. */ maximumFractionDigits: number; /** The minimum number of significant digits to use. Possible values are 1-21. */ minimumSignificantDigits: number; /** The maximum number of significant digits to use,. Possible values are 1-21. */ maximumSignificantDigits: number; render(): string; } declare global { interface HTMLElementTagNameMap { 'wa-format-number': WaFormatNumber; } }