import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { DefinedType } from '../DefinitionASN1Module/DefinedType.ta.mjs'; import { Identifier } from '../DefinitionASN1Module/Identifier.ta.mjs'; /** * @summary Context_keyword * @description * * ### ASN.1 Definition: * * ```asn1 * Context-keyword ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- } * ``` * */ export declare class Context_keyword { /** * @summary `type_reference`. * @public * @readonly */ readonly type_reference: DefinedType; /** * @summary `field`. * @public * @readonly */ readonly field: Identifier; constructor( /** * @summary `type_reference`. * @public * @readonly */ type_reference: DefinedType, /** * @summary `field`. * @public * @readonly */ field: Identifier); /** * @summary Restructures an object into a Context_keyword * @description * * This takes an `object` and converts it to a `Context_keyword`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `Context_keyword`. * @returns {Context_keyword} */ static _from_object(_o: { [_K in keyof Context_keyword]: Context_keyword[_K]; }): Context_keyword; } /** * @summary The Leading Root Component Types of Context_keyword * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_Context_keyword: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of Context_keyword * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_Context_keyword: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of Context_keyword * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_Context_keyword: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) Context_keyword * @function * @param {_Element} el The element being decoded. * @returns {Context_keyword} The decoded data structure. */ export declare function _decode_Context_keyword(el: _Element): Context_keyword; /** * @summary Encodes a(n) Context_keyword 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_keyword, encoded as an ASN.1 Element. */ export declare function _encode_Context_keyword(value: Context_keyword, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=Context-keyword.ta.d.mts.map