export interface JWERecipient { encrypted_key?: string; header?: Record; } export interface DagJWE { aad?: string; ciphertext: string; iv: string; protected: string; recipients?: Array; tag: string; unprotected?: Record; } export interface EncodedRecipient { encrypted_key?: Uint8Array; header?: Record; } export interface EncodedJWE { aad?: Uint8Array; ciphertext: Uint8Array; iv: Uint8Array; protected: Uint8Array; recipients?: Array; tag: Uint8Array; unprotected?: Record; } export declare function fromSplit(split: Array): DagJWE; export declare function encode(jwe: DagJWE): EncodedJWE; export declare function decode(encoded: EncodedJWE): DagJWE;