import { NULL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ObservedValue } from '@wildboar/attribute-asn1module'; import { NumericMeasure_qualifiedValue } from '../SummarizationASN1Productions/NumericMeasure-qualifiedValue.ta.mjs'; /** * @summary NumericMeasure * @description * * ### ASN.1 Definition: * * ```asn1 * NumericMeasure ::= CHOICE { * missingData NULL, * valueOnly ObservedValue, * qualifiedValue * SEQUENCE {value ObservedValue, * timeStamp TimePeriod OPTIONAL, * -- time offset forward from scan initiation time in report. * -- This CHOICE type required if timeStampReportMode attribute is present with value = 2 * suspectFlag BOOLEAN DEFAULT FALSE * -- at least one of timeStamp or suspectFlag shall be present * } * } * ``` */ export type NumericMeasure = { missingData: NULL; } | { valueOnly: ObservedValue; } | { qualifiedValue: NumericMeasure_qualifiedValue; }; /** * @summary Decodes an ASN.1 element into a(n) NumericMeasure * @function * @param {_Element} el The element being decoded. * @returns {NumericMeasure} The decoded data structure. */ export declare function _decode_NumericMeasure(el: _Element): NumericMeasure; /** * @summary Encodes a(n) NumericMeasure 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 NumericMeasure, encoded as an ASN.1 Element. */ export declare function _encode_NumericMeasure(value: NumericMeasure, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=NumericMeasure.ta.d.mts.map