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