import { INTEGER, OBJECT_IDENTIFIER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { SignalDirection, _enum_for_SignalDirection } from '../TestCategories-ASN1Module/SignalDirection.ta.mjs'; import { MORTs } from '../Test-ASN1Module/MORTs.ta.mjs'; import { AssociatedObjects } from '../Test-ASN1Module/AssociatedObjects.ta.mjs'; import { WaitDuration } from '../TestCategories-ASN1Module/WaitDuration.ta.mjs'; /** * @summary SequenceOfEvents * @description * * ### ASN.1 Definition: * * ```asn1 * SequenceOfEvents ::= SEQUENCE { * eventId INTEGER, * signalType CDTC-SIGNAL-TYPE.&id({SignalTypeSet}), * signalValue CDTC-SIGNAL-TYPE.&Value({SignalTypeSet}{@.signalType}), * signalDirection SignalDirection, * mORTs MORTs, * associatedObjects AssociatedObjects, * waitDuration WaitDuration * } * ``` * */ export declare class SequenceOfEvents { /** * @summary `eventId`. * @public * @readonly */ readonly eventId: INTEGER; /** * @summary `signalType`. * @public * @readonly */ readonly signalType: OBJECT_IDENTIFIER; /** * @summary `signalValue`. * @public * @readonly */ readonly signalValue: _Element; /** * @summary `signalDirection`. * @public * @readonly */ readonly signalDirection: SignalDirection; /** * @summary `mORTs`. * @public * @readonly */ readonly mORTs: MORTs; /** * @summary `associatedObjects`. * @public * @readonly */ readonly associatedObjects: AssociatedObjects; /** * @summary `waitDuration`. * @public * @readonly */ readonly waitDuration: WaitDuration; constructor( /** * @summary `eventId`. * @public * @readonly */ eventId: INTEGER, /** * @summary `signalType`. * @public * @readonly */ signalType: OBJECT_IDENTIFIER, /** * @summary `signalValue`. * @public * @readonly */ signalValue: _Element, /** * @summary `signalDirection`. * @public * @readonly */ signalDirection: SignalDirection, /** * @summary `mORTs`. * @public * @readonly */ mORTs: MORTs, /** * @summary `associatedObjects`. * @public * @readonly */ associatedObjects: AssociatedObjects, /** * @summary `waitDuration`. * @public * @readonly */ waitDuration: WaitDuration); /** * @summary Restructures an object into a SequenceOfEvents * @description * * This takes an `object` and converts it to a `SequenceOfEvents`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `SequenceOfEvents`. * @returns {SequenceOfEvents} */ static _from_object(_o: { [_K in keyof SequenceOfEvents]: SequenceOfEvents[_K]; }): SequenceOfEvents; /** * @summary The enum used as the type of the component `signalDirection` * @public * @static */ static _enum_for_signalDirection: typeof _enum_for_SignalDirection; } /** * @summary The Leading Root Component Types of SequenceOfEvents * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_SequenceOfEvents: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of SequenceOfEvents * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_SequenceOfEvents: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of SequenceOfEvents * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_SequenceOfEvents: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) SequenceOfEvents * @function * @param {_Element} el The element being decoded. * @returns {SequenceOfEvents} The decoded data structure. */ export declare function _decode_SequenceOfEvents(el: _Element): SequenceOfEvents; /** * @summary Encodes a(n) SequenceOfEvents 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 SequenceOfEvents, encoded as an ASN.1 Element. */ export declare function _encode_SequenceOfEvents(value: SequenceOfEvents, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SequenceOfEvents.ta.d.mts.map