/** * Copyright 2023-present DreamNum Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { LocaleType } from '@univerjs/core'; export declare const currencySymbols: string[]; export declare const localeCurrencySymbolMap: Map; /** * Get the currency symbol icon based on the locale. * TODO@wpxp123456: supplement more currency symbols icons. missing icons: ₩, ₫, NT$, ﷼. */ export declare function getCurrencySymbolIconByLocale(locale: LocaleType): { icon: string; symbol: string; locale: LocaleType; }; /** * Get the currency symbol by locale. */ export declare function getCurrencySymbolByLocale(locale: LocaleType): string; /** * Get the currency format string based on the locale and number of digits. */ export declare function getCurrencyFormat(locale: LocaleType, numberDigits?: number): string;