import { OPTIONAL, INTEGER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { TimeoutPeriod } from '../Test-ASN1Module/TimeoutPeriod.ta.mjs'; /** * @summary ResourceSelfTestInfo * @description * * ### ASN.1 Definition: * * ```asn1 * ResourceSelfTestInfo ::= SEQUENCE { * diagnosticType [0] INTEGER OPTIONAL, --type of diagnostic to be run * phases SET OF INTEGER, -- phases to be run * iteration [1] INTEGER, -- number of iterations for each type * timeoutPeriod [2] TimeoutPeriod * } * ``` * */ export declare class ResourceSelfTestInfo { /** * @summary `diagnosticType`. * @public * @readonly */ readonly diagnosticType: OPTIONAL; /** * @summary `phases`. * @public * @readonly */ readonly phases: INTEGER[]; /** * @summary `iteration`. * @public * @readonly */ readonly iteration: INTEGER; /** * @summary `timeoutPeriod`. * @public * @readonly */ readonly timeoutPeriod: TimeoutPeriod; constructor( /** * @summary `diagnosticType`. * @public * @readonly */ diagnosticType: OPTIONAL, /** * @summary `phases`. * @public * @readonly */ phases: INTEGER[], /** * @summary `iteration`. * @public * @readonly */ iteration: INTEGER, /** * @summary `timeoutPeriod`. * @public * @readonly */ timeoutPeriod: TimeoutPeriod); /** * @summary Restructures an object into a ResourceSelfTestInfo * @description * * This takes an `object` and converts it to a `ResourceSelfTestInfo`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ResourceSelfTestInfo`. * @returns {ResourceSelfTestInfo} */ static _from_object(_o: { [_K in keyof ResourceSelfTestInfo]: ResourceSelfTestInfo[_K]; }): ResourceSelfTestInfo; } /** * @summary The Leading Root Component Types of ResourceSelfTestInfo * @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_ResourceSelfTestInfo: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ResourceSelfTestInfo * @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_ResourceSelfTestInfo: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ResourceSelfTestInfo * @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_ResourceSelfTestInfo: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ResourceSelfTestInfo * @function * @param {_Element} el The element being decoded. * @returns {ResourceSelfTestInfo} The decoded data structure. */ export declare function _decode_ResourceSelfTestInfo(el: _Element): ResourceSelfTestInfo; /** * @summary Encodes a(n) ResourceSelfTestInfo 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 ResourceSelfTestInfo, encoded as an ASN.1 Element. */ export declare function _encode_ResourceSelfTestInfo(value: ResourceSelfTestInfo, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ResourceSelfTestInfo.ta.d.mts.map