import { OPTIONAL, BOOLEAN, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ValueSpecifier } from '../DefinitionASN1Module/ValueSpecifier.ta.mjs'; import { DefinedType } from '../DefinitionASN1Module/DefinedType.ta.mjs'; import { PropertyList_getReplace, _enum_for_PropertyList_getReplace } from '../DefinitionASN1Module/PropertyList-getReplace.ta.mjs'; import { PropertyList_addRemove, _enum_for_PropertyList_addRemove } from '../DefinitionASN1Module/PropertyList-addRemove.ta.mjs'; import { AdditionalProperties } from '../DefinitionASN1Module/AdditionalProperties.ta.mjs'; /** * @summary PropertyList * @description * * ### ASN.1 Definition: * * ```asn1 * PropertyList ::= SEQUENCE { * replaceWithDefault [0] BOOLEAN DEFAULT FALSE, * defaultValue [1] EXPLICIT ValueSpecifier OPTIONAL, * initialValue [2] EXPLICIT ValueSpecifier OPTIONAL, * permittedValues [3] DefinedType OPTIONAL, * requiredValues [4] DefinedType OPTIONAL, * getReplace * [5] ENUMERATED {gET(0), rEPLACE(1), gET-REPLACE(2)} OPTIONAL, * addRemove * [6] ENUMERATED {aDD(0), rEMOVE(1), aDD-REMOVE(2)} OPTIONAL, * setByCreate [7] BOOLEAN DEFAULT FALSE, * additionalProperties [8] AdditionalProperties OPTIONAL * } * ``` * */ export declare class PropertyList { /** * @summary `replaceWithDefault`. * @public * @readonly */ readonly replaceWithDefault?: OPTIONAL; /** * @summary `defaultValue`. * @public * @readonly */ readonly defaultValue?: OPTIONAL; /** * @summary `initialValue`. * @public * @readonly */ readonly initialValue?: OPTIONAL; /** * @summary `permittedValues`. * @public * @readonly */ readonly permittedValues?: OPTIONAL; /** * @summary `requiredValues`. * @public * @readonly */ readonly requiredValues?: OPTIONAL; /** * @summary `getReplace`. * @public * @readonly */ readonly getReplace?: OPTIONAL; /** * @summary `addRemove`. * @public * @readonly */ readonly addRemove?: OPTIONAL; /** * @summary `setByCreate`. * @public * @readonly */ readonly setByCreate?: OPTIONAL; /** * @summary `additionalProperties`. * @public * @readonly */ readonly additionalProperties?: OPTIONAL; constructor( /** * @summary `replaceWithDefault`. * @public * @readonly */ replaceWithDefault?: OPTIONAL, /** * @summary `defaultValue`. * @public * @readonly */ defaultValue?: OPTIONAL, /** * @summary `initialValue`. * @public * @readonly */ initialValue?: OPTIONAL, /** * @summary `permittedValues`. * @public * @readonly */ permittedValues?: OPTIONAL, /** * @summary `requiredValues`. * @public * @readonly */ requiredValues?: OPTIONAL, /** * @summary `getReplace`. * @public * @readonly */ getReplace?: OPTIONAL, /** * @summary `addRemove`. * @public * @readonly */ addRemove?: OPTIONAL, /** * @summary `setByCreate`. * @public * @readonly */ setByCreate?: OPTIONAL, /** * @summary `additionalProperties`. * @public * @readonly */ additionalProperties?: OPTIONAL); /** * @summary Restructures an object into a PropertyList * @description * * This takes an `object` and converts it to a `PropertyList`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `PropertyList`. * @returns {PropertyList} */ static _from_object(_o: { [_K in keyof PropertyList]: PropertyList[_K]; }): PropertyList; /** * @summary Getter that returns the default value for `replaceWithDefault`. * @public * @static * @method */ static get _default_value_for_replaceWithDefault(): BOOLEAN; /** * @summary Getter that returns the default value for `setByCreate`. * @public * @static * @method */ static get _default_value_for_setByCreate(): BOOLEAN; /** * @summary The enum used as the type of the component `getReplace` * @public * @static */ static _enum_for_getReplace: typeof _enum_for_PropertyList_getReplace; /** * @summary The enum used as the type of the component `addRemove` * @public * @static */ static _enum_for_addRemove: typeof _enum_for_PropertyList_addRemove; } /** * @summary The Leading Root Component Types of PropertyList * @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_PropertyList: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of PropertyList * @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_PropertyList: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of PropertyList * @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_PropertyList: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) PropertyList * @function * @param {_Element} el The element being decoded. * @returns {PropertyList} The decoded data structure. */ export declare function _decode_PropertyList(el: _Element): PropertyList; /** * @summary Encodes a(n) PropertyList 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 PropertyList, encoded as an ASN.1 Element. */ export declare function _encode_PropertyList(value: PropertyList, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=PropertyList.ta.d.mts.map