import StrNumberFlag from './StrNumberFlag'; /** 正无穷 */ export declare const POSITIVE_INFINITY: StrNumberFlag; /** 负无穷 */ export declare const NEGATIVE_INFINITY: StrNumberFlag; /** 不存在的数字 */ export declare const _NaN: StrNumberFlag; /** * 计算两数之和 */ export declare const add: (a: StrNumberType, b: StrNumberType) => StrNumberValue; /** * 计算两数之差 */ export declare const minus: (a: StrNumberType, b: StrNumberType) => StrNumberValue; /** * 计算两数之积 */ export declare const times: (a: StrNumberType, b: StrNumberType) => StrNumberValue; /** * 计算两数之商 */ export declare const into: (a: StrNumberType, b: StrNumberType) => StrNumberValue; export declare const calc: (str: string) => StrNumberValue; /** * 指定小数位数,超出四舍五入,不足补0 */ export declare const toFixed: (value: StrNumberType, digits: number) => string; /** * 判断数值是否是无限的 */ export declare const _isInfinite: (value: StrNumberType) => value is typeof NEGATIVE_INFINITY | typeof POSITIVE_INFINITY; /** * 判断数值是否是有限的 */ export declare const _isFinite: (value: StrNumberType) => value is string; /** * 判断数值是否是NaN */ export declare const _isNaN: (value: StrNumberType) => value is typeof _NaN; /** * 数字字符串格式化 * 用于外传参数归一化 */ export declare const formatNumber: (value: StrNumberType) => StrNumberValue; /** * 数字字符串格式化 * 用于内部数字合规化 */ export declare const checkNumber: (value: StrNumberValue) => StrNumberValue; /** * 判断A是否小于B */ export declare const aIsLessThanB: (a: StrNumberType, b: StrNumberType) => boolean; /** * 判断A是否等于B */ export declare const aIsEqualToB: (a: StrNumberType, b: StrNumberType) => boolean; /** * 判断A是否大于B */ export declare const aIsMoreThanB: (a: StrNumberType, b: StrNumberType) => boolean;