/** * JWE General JSON Serialization decryption (RFC 7516 §7.2). * * Recipient-side counterpart of `encrypt.ts`. Walks the wire JSON, * locates the recipient entry by `kid`, runs the alg's recipient * function to recover the CEK, then unwraps the AES-GCM bulk body * with the canonical AAD (RFC 7516 §5.1 step 14). */ import { type JweGeneralJson } from './types'; export declare function decrypt({ jwe, recipientKid, privateKey, apu, apv, }: { jwe: JweGeneralJson; recipientKid: string; privateKey: Uint8Array; apu?: Uint8Array; apv?: Uint8Array; }): Uint8Array;