import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ErrorCode_Item } from '../CSModule/ErrorCode-Item.ta.mjs'; /** * @summary ErrorCode * @description * * ### ASN.1 Definition: * * ```asn1 * ErrorCode ::= * SET OF * INTEGER {noError(0), noScriptError(1), scriptRejectedError(2), * invalidParameterTypeError(3), invalidParameterValueError(4), * scriptSyntaxError(5), scriptExecutionFailedError(6), * invalidParmeterNumber(7), unauthorizedAccessError(8)} * ``` */ export type ErrorCode = ErrorCode_Item[]; /** * @summary Decodes an ASN.1 element into a(n) ErrorCode * @function * @param {_Element} el The element being decoded. * @returns {ErrorCode} The decoded data structure. */ export declare function _decode_ErrorCode(el: _Element): ErrorCode; /** * @summary Encodes a(n) ErrorCode 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 ErrorCode, encoded as an ASN.1 Element. */ export declare function _encode_ErrorCode(value: ErrorCode, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ErrorCode.ta.d.mts.map