interface HashLike { update(data: string | Uint8Array): HashLike; digest(encoding?: string): string | Uint8Array; } export interface QvacCrypto { createHash(algorithm: string): HashLike; randomBytes?(size: number): Uint8Array; getRandomValues?(array: T): T; } declare const cryptoShim: QvacCrypto; export default cryptoShim;