/** * 切割字符串数字(整数)为数字元素数组 * @description * 计算过程中,将大数切割成js能计算的数字长度 * 充分利用js的计算能力,减少循环次数 * js的安全计算数字最大支持16位,所以为全面覆盖计算面,乘法切割为7位,加减切割为15位 * @param value 整数 * @param length 切割长度 */ export declare function slicingNumber(value: string, length?: number): number[]; /** * 数组不足位前置补充元素 * 相当于字符串的padStart方法 */ export declare function sliceListPadStart(list: Array, length: number, item: T): any[]; interface CacheResultInterface {

, R>(callback: (...args: P) => R): (...args: P) => R; pool: Map>; /** 上一次缓存的时间戳 */ lastStamp: number; /** 缓存过期时间 */ expirationDate: number; } /** * 用于缓存函数执行结果 */ export declare const cacheResult: CacheResultInterface; export {};