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