import { WXCore } from '../WXCore'; import { ImgProcessingType } from '../Enums'; /** * @description 图像处理API */ export declare class ImgAPI { private static _http; /** * 图像处理 * @param wxCore * @param type 接口URL * @param imgUrl 图片的URL */ static imgProcessingByUrl(wxCore: WXCore, type: ImgProcessingType, imgUrl: string): Promise; /** * 图像处理 * @param wxCore * @param type 接口URL * @param filePath 图片文件路径 */ static imgProcessingByFile(wxCore: WXCore, type: ImgProcessingType, filePath: string): Promise; }