/** ignore */ declare type LocaleCode = string; /** ignore */ declare type CurrencyCode = string; /** Information about locale. */ export interface Locale { /** BCP 47 language tag of the locale. This is simply string provided to get locale. Example: `tr-TR` */ code: LocaleCode; /** Character to separate decimal (fraction) parts of the number from integer parts. */ decimalCharacter: string; /** Grouping separators for integer parts, such as thousands separators or thousand/lakh/crore separators. */ digitGroupSeparator: string; /** Place of currency symbol: `p` for prefix such as `$1.95`, or `s` for suffix such as `1.95$` */ currencySymbolPlacement: "p" | "s"; /** Place of percent symbol: `p` for prefix such as `%12`, or `s` for suffix such as `12%` */ percentSymbolPlacement: "p" | "s"; /** Percent symbol. Some locales contains spcae for percent symbol such as `12 %`, and some not `12%`. This is used to differenciate them. */ percentSymbol: string; } /** Information about currency */ export interface Currency { /** Name of the currency. */ name: string; /** ISO 4217 currency codes */ code: CurrencyCode; /** Number of digits used in decimal (fractional) part of the currency. */ decimalPlaces: number; /** Currency symbol such as `₺`, `$`, `€` */ symbol: string; } export declare function getCurrency(currencyCode: T, locale?: string): T; export declare function getCurrency(currencyCode: string | null | undefined, locale?: string): Currency | null | undefined; export declare function getLocale(localeCode: string): Locale; export declare function getLocale(localeCode: T): T; export declare function getLocale(localeCode: string | null | undefined): Locale | undefined | null; export {}; //# sourceMappingURL=intl-data.d.ts.map