declare type flatTreeFunction = (data?: any[], array?: any[], key?: string) => void; declare const flatTree: flatTreeFunction; declare const deepCopy: (data: any) => any; declare const evalMyFunction: (str: any, params?: any) => any; declare const createId: (prefix?: string, id?: string | number, slength?: number) => string | number; declare const createRandomStr: (len?: number) => string; declare const getAfterString: (str: any, mid: any) => any; declare const getBeforeString: (str: any, mid: any) => any; declare const initMomentLocale: () => void; declare const getRegExp: (pattern?: string) => any; declare const setRgbTo16: (str: string) => string; declare const isImgUrl: (imgurl: any) => Promise; /** * @description: 根据文本计算大概宽度 */ declare const getTextWidth: (text: string, fontSize?: number) => number; declare const checkNumber: (str: any) => boolean; declare const isDynamicProperty: (str?: any) => boolean; declare const convertToBytes: (size: string) => number; declare const IconWebViewErrorSvg: string; declare const IconNormalCheckSvg: string; declare const IconCheckSvg: string; export { flatTree, deepCopy, evalMyFunction, createId, createRandomStr, initMomentLocale, getAfterString, getBeforeString, getRegExp, setRgbTo16, isImgUrl, getTextWidth, checkNumber, isDynamicProperty, convertToBytes, IconCheckSvg, IconNormalCheckSvg, IconWebViewErrorSvg, };