import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ProbableCause } from '@wildboar/attribute-asn1module'; import { PerceivedSeverity, _enum_for_PerceivedSeverity } from '@wildboar/attribute-asn1module'; import { TrendIndication, _enum_for_TrendIndication } from '@wildboar/attribute-asn1module'; import { BackedUpStatus } from '@wildboar/attribute-asn1module'; import { ProposedRepairActions } from '@wildboar/attribute-asn1module'; import { ThresholdInfo } from '@wildboar/attribute-asn1module'; import { OtherInfo } from '../NotificationModule/OtherInfo.ta.mjs'; /** * @summary ErrorInfo * @description * * ### ASN.1 Definition: * * ```asn1 * ErrorInfo ::= SET { * probableCause [0] ProbableCause OPTIONAL, * perceivedSeverity [1] PerceivedSeverity OPTIONAL, * trendIndication [2] TrendIndication OPTIONAL, * backedUpStatus [3] BackedUpStatus OPTIONAL, * proposedRepairActions [4] ProposedRepairActions OPTIONAL, * thresholdInfo [5] ThresholdInfo OPTIONAL, * otherInfo [6] OtherInfo OPTIONAL * } * ``` * */ export declare class ErrorInfo { /** * @summary `probableCause`. * @public * @readonly */ readonly probableCause?: OPTIONAL; /** * @summary `perceivedSeverity`. * @public * @readonly */ readonly perceivedSeverity?: OPTIONAL; /** * @summary `trendIndication`. * @public * @readonly */ readonly trendIndication?: OPTIONAL; /** * @summary `backedUpStatus`. * @public * @readonly */ readonly backedUpStatus?: OPTIONAL; /** * @summary `proposedRepairActions`. * @public * @readonly */ readonly proposedRepairActions?: OPTIONAL; /** * @summary `thresholdInfo`. * @public * @readonly */ readonly thresholdInfo?: OPTIONAL; /** * @summary `otherInfo`. * @public * @readonly */ readonly otherInfo?: OPTIONAL; constructor( /** * @summary `probableCause`. * @public * @readonly */ probableCause?: OPTIONAL, /** * @summary `perceivedSeverity`. * @public * @readonly */ perceivedSeverity?: OPTIONAL, /** * @summary `trendIndication`. * @public * @readonly */ trendIndication?: OPTIONAL, /** * @summary `backedUpStatus`. * @public * @readonly */ backedUpStatus?: OPTIONAL, /** * @summary `proposedRepairActions`. * @public * @readonly */ proposedRepairActions?: OPTIONAL, /** * @summary `thresholdInfo`. * @public * @readonly */ thresholdInfo?: OPTIONAL, /** * @summary `otherInfo`. * @public * @readonly */ otherInfo?: OPTIONAL); /** * @summary Restructures an object into a ErrorInfo * @description * * This takes an `object` and converts it to a `ErrorInfo`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ErrorInfo`. * @returns {ErrorInfo} */ static _from_object(_o: { [_K in keyof ErrorInfo]: ErrorInfo[_K]; }): ErrorInfo; /** * @summary The enum used as the type of the component `perceivedSeverity` * @public * @static */ static _enum_for_perceivedSeverity: typeof _enum_for_PerceivedSeverity; /** * @summary The enum used as the type of the component `trendIndication` * @public * @static */ static _enum_for_trendIndication: typeof _enum_for_TrendIndication; } /** * @summary The Leading Root Component Types of ErrorInfo * @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_ErrorInfo: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ErrorInfo * @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_ErrorInfo: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ErrorInfo * @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_ErrorInfo: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ErrorInfo * @function * @param {_Element} el The element being decoded. * @returns {ErrorInfo} The decoded data structure. */ export declare function _decode_ErrorInfo(el: _Element): ErrorInfo; /** * @summary Encodes a(n) ErrorInfo 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 ErrorInfo, encoded as an ASN.1 Element. */ export declare function _encode_ErrorInfo(value: ErrorInfo, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ErrorInfo.ta.d.mts.map