CryptoKey = typeof
globalThisextendsobject?Extract<R, {type:string; }> :CryptoKeyStructuralFallback
A Web Cryptography key as declared by the host runtime.
This aliases the key type returned by the host's SubtleCrypto.generateKey() API when it is
exposed on globalThis. A structural fallback is used otherwise, keeping the package portable to
runtimes and TypeScript projects that do not include DOM or Node.js ambient types.