import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { OptionalIdentifier } from '../GrmAttributeDefinitionModule/OptionalIdentifier.ta.mjs'; /** * @summary SupportedChoice * @description * * ### ASN.1 Definition: * * ```asn1 * SupportedChoice ::= CHOICE { * establish [0] EXPLICIT OptionalIdentifier, * terminate [1] EXPLICIT OptionalIdentifier, * query [2] EXPLICIT OptionalIdentifier, * notify [3] EXPLICIT OptionalIdentifier, * userDefined [4] EXPLICIT OptionalIdentifier * } * ``` */ export type SupportedChoice = { establish: OptionalIdentifier; } | { terminate: OptionalIdentifier; } | { query: OptionalIdentifier; } | { notify: OptionalIdentifier; } | { userDefined: OptionalIdentifier; }; /** * @summary Decodes an ASN.1 element into a(n) SupportedChoice * @function * @param {_Element} el The element being decoded. * @returns {SupportedChoice} The decoded data structure. */ export declare function _decode_SupportedChoice(el: _Element): SupportedChoice; /** * @summary Encodes a(n) SupportedChoice 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 SupportedChoice, encoded as an ASN.1 Element. */ export declare function _encode_SupportedChoice(value: SupportedChoice, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SupportedChoice.ta.d.mts.map