/** * * @param length The length of the random string * @return A random string of the given length */ export declare function generateRandomString(length: number): string; export declare function base64urlDecode(encoded: string): ArrayBuffer; /** * * @param str Some string to encode * @return the base64url encoded string */ export declare function base64urlEncode(buffer: ArrayBuffer): string; /** * * @param plain Some string to hash * @return the hash of the input string */ export declare function sha256(plain: string): Promise; //# sourceMappingURL=utils.d.ts.map