import { CryptoModule } from './index'; export * from './index'; export default class Crypto extends CryptoModule { /** * We cannot create a new instance using this method as we need to await the * loading of an underlying module, hence, we need to await the static * init() method on this class to receive an instance of the class * * @protected */ protected constructor(); /** * Initializes a new instance of this class from an external library source * * Note: this method will attempt to load any other underlying cryptographic * library so it is imperative that the methods you wish to use are * properly supported by the underlying cryptographic library * * @param externalLibrary */ static init(externalLibrary: Partial): Promise; } export { Crypto };