import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { CertUpdateErr } from "../PkiPMIProtocolSpecifications/CertUpdateErr.ta.mjs"; import { CertUpdateOK } from "../PkiPMIProtocolSpecifications/CertUpdateOK.ta.mjs"; /** * @summary CertUpdateRsp_result * @description * * ### ASN.1 Definition: * * ```asn1 * CertUpdateRsp-result ::= CHOICE { -- REMOVED_FROM_UNNESTING -- } * ``` */ export type CertUpdateRsp_result = { success: CertUpdateOK; } | { failure: CertUpdateErr; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) CertUpdateRsp_result * @function * @param {_Element} el The element being decoded. * @returns {CertUpdateRsp_result} The decoded data structure. */ export declare function _decode_CertUpdateRsp_result(el: _Element): CertUpdateRsp_result; /** * @summary Encodes a(n) CertUpdateRsp_result 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 CertUpdateRsp_result, encoded as an ASN.1 Element. */ export declare function _encode_CertUpdateRsp_result(value: CertUpdateRsp_result, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=CertUpdateRsp-result.ta.d.mts.map