import * as $ from "@wildboar/asn1/functional"; import { SIGNED } from "../AuthenticationFramework/SIGNED.ta.mjs"; /** * @summary OPTIONALLY_PROTECTED_SEQ * @description * * ### ASN.1 Definition: * * ```asn1 * OPTIONALLY-PROTECTED-SEQ{Type} ::= CHOICE { * unsigned Type, * signed [0] SIGNED{Type} } * ``` */ export type OPTIONALLY_PROTECTED_SEQ = { unsigned: Type; } | { signed: SIGNED; }; /** * @summary Returns a function that will decode an ASN.1 element into a(n) OPTIONALLY_PROTECTED_SEQ * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ export declare function _get_decoder_for_OPTIONALLY_PROTECTED_SEQ(_decode_Type: $.ASN1Decoder): $.ASN1Decoder>; /** * @summary Returns a function that will encode a(n) OPTIONALLY_PROTECTED_SEQ into an ASN.1 Element. * @function * @returns A function that will encode a(n) OPTIONALLY_PROTECTED_SEQ as an ASN.1 element. */ export declare function _get_encoder_for_OPTIONALLY_PROTECTED_SEQ(_encode_Type: $.ASN1Encoder): $.ASN1Encoder>; //# sourceMappingURL=OPTIONALLY-PROTECTED-SEQ.ta.d.mts.map