import { NULL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { TONotCreated } from '../Test-ASN1Module/TONotCreated.ta.mjs'; /** * @summary RelatedTOError_Item * @description * * ### ASN.1 Definition: * * ```asn1 * RelatedTOError-Item ::= CHOICE { -- REMOVED_FROM_UNNESTING -- } * ``` */ export type RelatedTOError_Item = { ableToCreateTO: NULL; } | { unableToCreateTO: TONotCreated; }; /** * @summary Decodes an ASN.1 element into a(n) RelatedTOError_Item * @function * @param {_Element} el The element being decoded. * @returns {RelatedTOError_Item} The decoded data structure. */ export declare function _decode_RelatedTOError_Item(el: _Element): RelatedTOError_Item; /** * @summary Encodes a(n) RelatedTOError_Item 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 RelatedTOError_Item, encoded as an ASN.1 Element. */ export declare function _encode_RelatedTOError_Item(value: RelatedTOError_Item, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RelatedTOError-Item.ta.d.mts.map