import { OBJECT_IDENTIFIER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Timespec } from '../Test-ASN1Module/Timespec.ta.mjs'; import { TimeoutPeriod } from '../Test-ASN1Module/TimeoutPeriod.ta.mjs'; import { TestThreshold } from '../TestCategories-ASN1Module/TestThreshold.ta.mjs'; /** * @summary ConnectivityTestResults * @description * * ### ASN.1 Definition: * * ```asn1 * ConnectivityTestResults ::= CHOICE { * establishmentTime [0] Timespec, * timeoutPeriod [1] TimeoutPeriod, * testThreshold [2] EXPLICIT TestThreshold, * specificError [3] OBJECT IDENTIFIER * } * ``` */ export type ConnectivityTestResults = { establishmentTime: Timespec; } | { timeoutPeriod: TimeoutPeriod; } | { testThreshold: TestThreshold; } | { specificError: OBJECT_IDENTIFIER; }; /** * @summary Decodes an ASN.1 element into a(n) ConnectivityTestResults * @function * @param {_Element} el The element being decoded. * @returns {ConnectivityTestResults} The decoded data structure. */ export declare function _decode_ConnectivityTestResults(el: _Element): ConnectivityTestResults; /** * @summary Encodes a(n) ConnectivityTestResults 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 ConnectivityTestResults, encoded as an ASN.1 Element. */ export declare function _encode_ConnectivityTestResults(value: ConnectivityTestResults, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ConnectivityTestResults.ta.d.mts.map