import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ObjectInstance } from '@wildboar/cmip'; import { GdmoObjectClass } from '../RepertoireASN1Module/GdmoObjectClass.ta.mjs'; import { NameTree } from '../DiscoveryASN1Module/NameTree.ta.mjs'; /** * @summary RootedNameTree * @description * * ### ASN.1 Definition: * * ```asn1 * RootedNameTree ::= SEQUENCE { * rootObject ObjectInstance, * classOfRoot GdmoObjectClass OPTIONAL, * subordinates SET OF NameTree OPTIONAL * } * ``` * */ export declare class RootedNameTree { /** * @summary `rootObject`. * @public * @readonly */ readonly rootObject: ObjectInstance; /** * @summary `classOfRoot`. * @public * @readonly */ readonly classOfRoot?: OPTIONAL; /** * @summary `subordinates`. * @public * @readonly */ readonly subordinates?: OPTIONAL; constructor( /** * @summary `rootObject`. * @public * @readonly */ rootObject: ObjectInstance, /** * @summary `classOfRoot`. * @public * @readonly */ classOfRoot?: OPTIONAL, /** * @summary `subordinates`. * @public * @readonly */ subordinates?: OPTIONAL); /** * @summary Restructures an object into a RootedNameTree * @description * * This takes an `object` and converts it to a `RootedNameTree`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `RootedNameTree`. * @returns {RootedNameTree} */ static _from_object(_o: { [_K in keyof RootedNameTree]: RootedNameTree[_K]; }): RootedNameTree; } /** * @summary The Leading Root Component Types of RootedNameTree * @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_RootedNameTree: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of RootedNameTree * @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_RootedNameTree: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of RootedNameTree * @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_RootedNameTree: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) RootedNameTree * @function * @param {_Element} el The element being decoded. * @returns {RootedNameTree} The decoded data structure. */ export declare function _decode_RootedNameTree(el: _Element): RootedNameTree; /** * @summary Encodes a(n) RootedNameTree 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 RootedNameTree, encoded as an ASN.1 Element. */ export declare function _encode_RootedNameTree(value: RootedNameTree, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RootedNameTree.ta.d.mts.map