import { OPTIONAL, BIT_STRING, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { FunctionalUnitPackageId } from '../SMASE-A-ASSOCIATE-Information/FunctionalUnitPackageId.ta.mjs'; /** * @summary FunctionalUnitPackage * @description * * ### ASN.1 Definition: * * ```asn1 * FunctionalUnitPackage ::= SEQUENCE { * functionalUnitPackageId FunctionalUnitPackageId, * managerRoleFunctionalUnit [0] IMPLICIT BIT STRING DEFAULT {}, * -- If not present implies role not supported for this functionalUnitPackage. * agentRoleFunctionalUnit [1] IMPLICIT BIT STRING DEFAULT {} * -- If not present implies role not supported for this functionalUnitPackage. * } * ``` * */ export declare class FunctionalUnitPackage { /** * @summary `functionalUnitPackageId`. * @public * @readonly */ readonly functionalUnitPackageId: FunctionalUnitPackageId; /** * @summary `managerRoleFunctionalUnit`. * @public * @readonly */ readonly managerRoleFunctionalUnit?: OPTIONAL; /** * @summary `agentRoleFunctionalUnit`. * @public * @readonly */ readonly agentRoleFunctionalUnit?: OPTIONAL; constructor( /** * @summary `functionalUnitPackageId`. * @public * @readonly */ functionalUnitPackageId: FunctionalUnitPackageId, /** * @summary `managerRoleFunctionalUnit`. * @public * @readonly */ managerRoleFunctionalUnit?: OPTIONAL, /** * @summary `agentRoleFunctionalUnit`. * @public * @readonly */ agentRoleFunctionalUnit?: OPTIONAL); /** * @summary Restructures an object into a FunctionalUnitPackage * @description * * This takes an `object` and converts it to a `FunctionalUnitPackage`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `FunctionalUnitPackage`. * @returns {FunctionalUnitPackage} */ static _from_object(_o: { [_K in keyof FunctionalUnitPackage]: FunctionalUnitPackage[_K]; }): FunctionalUnitPackage; /** * @summary Getter that returns the default value for `managerRoleFunctionalUnit`. * @public * @static * @method */ static get _default_value_for_managerRoleFunctionalUnit(): BIT_STRING; /** * @summary Getter that returns the default value for `agentRoleFunctionalUnit`. * @public * @static * @method */ static get _default_value_for_agentRoleFunctionalUnit(): BIT_STRING; } /** * @summary The Leading Root Component Types of FunctionalUnitPackage * @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_FunctionalUnitPackage: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of FunctionalUnitPackage * @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_FunctionalUnitPackage: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of FunctionalUnitPackage * @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_FunctionalUnitPackage: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) FunctionalUnitPackage * @function * @param {_Element} el The element being decoded. * @returns {FunctionalUnitPackage} The decoded data structure. */ export declare function _decode_FunctionalUnitPackage(el: _Element): FunctionalUnitPackage; /** * @summary Encodes a(n) FunctionalUnitPackage 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 FunctionalUnitPackage, encoded as an ASN.1 Element. */ export declare function _encode_FunctionalUnitPackage(value: FunctionalUnitPackage, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=FunctionalUnitPackage.ta.d.mts.map