import CryptoES from 'crypto-es'; export declare const convertWordArrayToUint8Array: (wordArray: CryptoES.lib.WordArray) => Uint8Array; export declare const rollingHash: (inp: string) => number; /** * This is the function for encrypting a given chunk */ export declare const encryption: (chunk: CryptoES.lib.WordArray, ivStr: string, keyStr: string) => Promise<{ encryptedFile: CryptoES.lib.WordArray; hash: string; rollingHash: number; }>;