import 'xe-utils' import { XEUtilsMethods } from 'xe-utils/ctor' export interface MlUtilsCore extends XEUtilsMethods { toDateString (date: any, format?: string): string toStringDate (value: any): Date checkForUpdate(): void getPlatformEnv(): { isH5: boolean isWXMP: boolean isQWMP: boolean isDDMP: boolean isZFBMP: boolean } setPageTitle (title: string): void getAppId(): string | null getAppVersion(): string getAppDpr(): number getFileSuffix(filename: string): string getFileName(filename: string): string getAllPreviewTypes(): string[] getFilePreviewTypes(): string[] getImagePreviewTypes(): string[] openImageByUrls(imgUrls: string[], activeIndex?: number): Promise<{ filePaths: string[] }> openFileByUrl(url: string, name?: string, options?: { showMsg?: boolean }): Promise<{ filePath: string }> saveFileByUrl (url: string, name?: string, options?: { showMsg?: boolean }): Promise<{ filePath: string }> toNumMoneyToChinese (money: any): string toAmountString (value: any, fixed?: number): string toWanAmountString (value: any, fixed?: number): string [key: string]: any } export const MaliUtils: MlUtilsCore