import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { IntermediateResponse } from '../TestCategories-ASN1Module/IntermediateResponse.ta.mjs'; import { ResourceSelfTestResults_nonIntermediate } from '../TestCategories-ASN1Module/ResourceSelfTestResults-nonIntermediate.ta.mjs'; /** * @summary ResourceSelfTestResults * @description * * ### ASN.1 Definition: * * ```asn1 * ResourceSelfTestResults ::= CHOICE { * intermediateResponse IntermediateResponse, * nonIntermediate * SEQUENCE {phases SET OF INTEGER, * iteration [0] INTEGER, * timeoutPeriod [1] TimeoutPeriod, * finalResponse PrintableString OPTIONAL} * } * ``` */ export type ResourceSelfTestResults = { intermediateResponse: IntermediateResponse; } | { nonIntermediate: ResourceSelfTestResults_nonIntermediate; }; /** * @summary Decodes an ASN.1 element into a(n) ResourceSelfTestResults * @function * @param {_Element} el The element being decoded. * @returns {ResourceSelfTestResults} The decoded data structure. */ export declare function _decode_ResourceSelfTestResults(el: _Element): ResourceSelfTestResults; /** * @summary Encodes a(n) ResourceSelfTestResults 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 ResourceSelfTestResults, encoded as an ASN.1 Element. */ export declare function _encode_ResourceSelfTestResults(value: ResourceSelfTestResults, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ResourceSelfTestResults.ta.d.mts.map