import { INTEGER, REAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ErrorUnitThreshold } from '../TestCategories-ASN1Module/ErrorUnitThreshold.ta.mjs'; /** * @summary TestThreshold * @description * * ### ASN.1 Definition: * * ```asn1 * TestThreshold ::= CHOICE { * bitErrorThreshold [0] INTEGER, * percentageErrorThreshold [1] REAL, * errorUnitThreshold [2] ErrorUnitThreshold * } * ``` */ export type TestThreshold = { bitErrorThreshold: INTEGER; } | { percentageErrorThreshold: REAL; } | { errorUnitThreshold: ErrorUnitThreshold; }; /** * @summary Decodes an ASN.1 element into a(n) TestThreshold * @function * @param {_Element} el The element being decoded. * @returns {TestThreshold} The decoded data structure. */ export declare function _decode_TestThreshold(el: _Element): TestThreshold; /** * @summary Encodes a(n) TestThreshold 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 TestThreshold, encoded as an ASN.1 Element. */ export declare function _encode_TestThreshold(value: TestThreshold, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=TestThreshold.ta.d.mts.map