import { GeneralSetting } from '../types/generalSettings.type'; export type IndonesianRupiah = { locale: 'id-ID'; prefix: 'Rp'; currency: 'IDR'; }; export type AmericanUSDollar = { locale: 'en-US'; prefix: '$'; currency: 'USD'; }; export type EuropeanEuro = { locale: 'en-DE'; prefix: '€'; currency: 'EUR'; }; export type ChineseYuan = { locale: 'zh-CN'; prefix: '¥'; currency: 'CNY'; }; export type CurrencyFormat = { name?: string; label: string; currency: string; symbol: string; locale: string; }; export type Locale = CurrencyFormat['locale']; declare const getCurrency: (code?: string) => CurrencyFormat; declare const formatCurrency: (value?: number | string | null, currency?: GeneralSetting['currency']['currency'], prefix?: boolean) => string; export { getCurrency, formatCurrency };