import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Context_keyword } from '../DefinitionASN1Module/Context-keyword.ta.mjs'; import { Context_representation } from '../DefinitionASN1Module/Context-representation.ta.mjs'; /** * @summary Context * @description * * ### ASN.1 Definition: * * ```asn1 * Context ::= CHOICE { * keyword * SEQUENCE {type-reference DefinedType, * field Identifier}, * representation * ENUMERATED {aCTION-INFO(0), aCTION-REPLY(1), eVENT-INFO(2), eVENT-REPLY(3), * sPECIFIC-ERROR(4)} * } * ``` */ export type Context = { keyword: Context_keyword; } | { representation: Context_representation; }; /** * @summary Decodes an ASN.1 element into a(n) Context * @function * @param {_Element} el The element being decoded. * @returns {Context} The decoded data structure. */ export declare function _decode_Context(el: _Element): Context; /** * @summary Encodes a(n) Context 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 Context, encoded as an ASN.1 Element. */ export declare function _encode_Context(value: Context, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=Context.ta.d.mts.map