import { WXCore } from '../WXCore'; import { OCRType } from '../Enums'; /** * @description OCR 识别API */ export declare class OCRAPI { private static _http; /** * OCR 识别 * @param wxCore * @param OcrType 接口URL * @param imgUrl 图片的URL */ static ocrByUrl(wxCore: WXCore, ocrType: OCRType, imgUrl: string): Promise; /** * OCR 识别 * @param wxCore * @param ocrType 接口URL * @param filePath 图片的文件路径 */ static ocrByFile(wxCore: WXCore, ocrType: OCRType, filePath: string): Promise; }