import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { IssuerAndSerialNumber } from "../PKCS7/IssuerAndSerialNumber.ta.mjs";
import { RecipientKeyIdentifier } from "../PKCS7/RecipientKeyIdentifier.ta.mjs";
/**
 * @summary KeyAgreementRecipientIdentifier
 * @description
 *
 * ### ASN.1 Definition:
 *
 * ```asn1
 * KeyAgreementRecipientIdentifier  ::=  CHOICE {
 *     issuerAndSerialNumber   IssuerAndSerialNumber,
 *     recipientKeyIdentifier  [0]  RecipientKeyIdentifier
 * }
 * ```
 */
export type KeyAgreementRecipientIdentifier = {
    issuerAndSerialNumber: IssuerAndSerialNumber;
} | {
    recipientKeyIdentifier: RecipientKeyIdentifier;
};
/**
 * @summary Decodes an ASN.1 element into a(n) KeyAgreementRecipientIdentifier
 * @function
 * @param {_Element} el The element being decoded.
 * @returns {KeyAgreementRecipientIdentifier} The decoded data structure.
 */
export declare function _decode_KeyAgreementRecipientIdentifier(el: _Element): KeyAgreementRecipientIdentifier;
/**
 * @summary Encodes a(n) KeyAgreementRecipientIdentifier into an ASN.1 Element.
 * @function
 * @param value The element being encoded.
 * @param elGetter A function that can be used to get new ASN.1 elements.
 * @returns {_Element} The KeyAgreementRecipientIdentifier, encoded as an ASN.1 Element.
 */
export declare function _encode_KeyAgreementRecipientIdentifier(value: KeyAgreementRecipientIdentifier, elGetter: $.ASN1Encoder<KeyAgreementRecipientIdentifier>): _Element;
//# sourceMappingURL=KeyAgreementRecipientIdentifier.ta.d.mts.map