/** 计算数据的 SHA256 哈希值 */ export declare function sha256(data: Blob, options?: { outBase64?: boolean; outBase58?: boolean; arrayBuffer: ArrayBuffer; }): Promise; export declare function sha256(data: Blob, options: { outMore: true; }): Promise<{ base64: string; base58: string; hex: string; arrayBuffer: ArrayBuffer; }>; export declare function sha256(data: string | ArrayBuffer | Uint8Array, options?: { outBase64?: boolean; outBase58?: boolean; }): string; export declare function sha256(data: string | ArrayBuffer | Uint8Array, options: { outMore: true; }): { base64: string; base58: string; hex: string; arrayBuffer: ArrayBuffer; }; /** 使用浏览器原生 crypto 计算 sha256 */ export declare function sha256Native(data: string | ArrayBuffer | Blob, options: { outMore: true; }): Promise<{ base64: string; base58: string; hex: string; arrayBuffer: ArrayBuffer; }>; export declare function sha256Native(data: string | ArrayBuffer | Blob, options?: { outBase64?: boolean; outBase58?: boolean; }): Promise; //# sourceMappingURL=sha256.d.ts.map