import { ASN1Element as _Element, INSTANCE_OF } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { CRLReferral } from "../CertificateExtensions/CRLReferral.ta.mjs"; /** * @summary StatusReferral * @description * * ### ASN.1 Definition: * * ```asn1 * StatusReferral ::= CHOICE { * cRLReferral [0] CRLReferral, * otherReferral [1] INSTANCE OF OTHER-REFERRAL, * ... } * ``` */ export type StatusReferral = { cRLReferral: CRLReferral; } | { otherReferral: INSTANCE_OF; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) StatusReferral * @function * @param {_Element} el The element being decoded. * @returns {StatusReferral} The decoded data structure. */ export declare function _decode_StatusReferral(el: _Element): StatusReferral; /** * @summary Encodes a(n) StatusReferral 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 StatusReferral, encoded as an ASN.1 Element. */ export declare function _encode_StatusReferral(value: StatusReferral, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=StatusReferral.ta.d.mts.map