export declare function isSubtleCryptoAvailable(): boolean; export declare function isNodeCryptoAvailable(withFeature: (nodeCrypto: typeof import('crypto')) => boolean | T): false | T; export declare const NO_CRYPTO_LIB = "Crypto lib not found. Either the WebCrypto \"crypto.subtle\" or Node.js \"crypto\" module must be available."; export interface WebCryptoLib { lib: SubtleCrypto; name: 'subtleCrypto'; } export interface NodeCryptoLib { lib: typeof import('crypto'); name: 'nodeCrypto'; } export declare function getCryptoLib(): Promise;