import { OBJECT_IDENTIFIER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { TimePeriod } from '../MetricModule/TimePeriod.ta.mjs'; import { Induced } from '../UsageMeteringFunction/Induced.ta.mjs'; import { ReportingEvent } from '../UsageMeteringFunction/ReportingEvent.ta.mjs'; /** * @summary NotificationCause * @description * * ### ASN.1 Definition: * * ```asn1 * NotificationCause ::= CHOICE { * periodic [1] TimePeriod, * induced [2] Induced, * event [3] ReportingEvent, * stimulus [4] OBJECT IDENTIFIER * } * ``` */ export type NotificationCause = { periodic: TimePeriod; } | { induced: Induced; } | { event: ReportingEvent; } | { stimulus: OBJECT_IDENTIFIER; }; /** * @summary Decodes an ASN.1 element into a(n) NotificationCause * @function * @param {_Element} el The element being decoded. * @returns {NotificationCause} The decoded data structure. */ export declare function _decode_NotificationCause(el: _Element): NotificationCause; /** * @summary Encodes a(n) NotificationCause 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 NotificationCause, encoded as an ASN.1 Element. */ export declare function _encode_NotificationCause(value: NotificationCause, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=NotificationCause.ta.d.mts.map