import { INTEGER, OBJECT_IDENTIFIER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; /** * @summary ErrorId * @description * * ### ASN.1 Definition: * * ```asn1 * ErrorId ::= CHOICE {localValue INTEGER, * globalValue OBJECT IDENTIFIER * } * ``` */ export type ErrorId = { localValue: INTEGER; } | { globalValue: OBJECT_IDENTIFIER; }; /** * @summary Decodes an ASN.1 element into a(n) ErrorId * @function * @param {_Element} el The element being decoded. * @returns {ErrorId} The decoded data structure. */ export declare function _decode_ErrorId(el: _Element): ErrorId; /** * @summary Encodes a(n) ErrorId 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 ErrorId, encoded as an ASN.1 Element. */ export declare function _encode_ErrorId(value: ErrorId, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ErrorId.ta.d.mts.map