import { NULL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Identifier } from '../DefinitionASN1Module/Identifier.ta.mjs'; /** * @summary OptionalIdentifier * @description * * ### ASN.1 Definition: * * ```asn1 * OptionalIdentifier ::= CHOICE {present Identifier, * absent NULL * } * ``` */ export type OptionalIdentifier = { present: Identifier; } | { absent: NULL; }; /** * @summary Decodes an ASN.1 element into a(n) OptionalIdentifier * @function * @param {_Element} el The element being decoded. * @returns {OptionalIdentifier} The decoded data structure. */ export declare function _decode_OptionalIdentifier(el: _Element): OptionalIdentifier; /** * @summary Encodes a(n) OptionalIdentifier 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 OptionalIdentifier, encoded as an ASN.1 Element. */ export declare function _encode_OptionalIdentifier(value: OptionalIdentifier, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OptionalIdentifier.ta.d.mts.map