/** * 图像加载与共享工具(hashKey/arrayFingerprint) */ import { ImageSource, OcrImageData } from "../typings"; /** 加载图像为 RGBA 数据 */ export declare function loadImage(source: ImageSource): Promise; /** 32-bit 字符串哈希(缓存键) */ export declare function hashKey(s: string): string; /** 数组指纹(前 1000 字节的字符串表示) */ export declare function arrayFingerprint(arr: Uint8Array): string;