import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlFormatNumberElement from "@shoelace-style/shoelace/dist/components/format-number/format-number.js";
export type { SlFormatNumberElement };
export interface SlFormatNumberProps
extends HTMLAttributes {
ref?: Ref;
/**
* The number to format.
*/
value?: number;
/**
* The formatting style to use.
*/
type?: "currency" | "decimal" | "percent";
/**
* Turns off grouping separators.
*/
noGrouping?: 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-20.
*/
minimumFractionDigits?: number;
/**
* The maximum number of fraction digits to use. Possible values are 0-0.
*/
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;
}
/**
* Formats a number using the specified locale and options.
*/
export default function SlFormatNumber(
props: SlFormatNumberProps,
): ReactElement;