import { TLanguage } from '@cainiaofe/cn-i18n';
import { DecimalSeparator, NumberCompactByConValue, NumberCompactValue, Numeric, NumSysConf } from './type';
export * from './type';
export * from './number';
/**
 * 通过语种获取当前数字系统小数点
 * @param lang 语种
 * @returns
 */
export declare function getDecimalSeparator(lang?: TLanguage | boolean): DecimalSeparator;
/**
 * 通过语种获取当前数字系统格式化配置
 * @param lang 语种
 * @returns
 */
export declare function getNumSysFormatConf(lang?: TLanguage | boolean): NumSysConf;
/**
 *通过语种获取当前数字系统格式化字符串
 * @param num
 * @param lang
 * @returns
 */
export declare function numberFormat(num: Numeric, lang?: TLanguage | boolean, options?: Intl.NumberFormatOptions): Numeric | typeof NaN | null;
/**
 *基于 Intl 自动推测数字简写
 * @param num
 * @param lang
 * @param options
 * @returns
 */
export declare function numberCompact(num: Numeric, lang?: TLanguage | boolean, options?: Intl.NumberFormatOptions): NumberCompactValue | null | typeof NaN;
/**
 *固定量级数字简写
 * @param num
 * @param lang
 * @param options
 * @returns
 */
export declare function numberCompactByCon(num: Numeric, conversion: number, lang?: TLanguage | boolean): NumberCompactByConValue | typeof NaN | null;
/**
 *通过语种格式化货币金额
 * @param amount
 * @param currency
 * @param lang
 * @returns
 */
export declare function currencyFormat(amount: Numeric, currency: string, lang?: TLanguage | boolean, options?: Intl.NumberFormatOptions): string | null | typeof NaN;
