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