import { ASN1Element as _Element, BMPString, UTF8String, VisibleString } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary DisplayText * @description * * ### ASN.1 Definition: * * ```asn1 * DisplayText ::= CHOICE { * visibleString VisibleString(SIZE (1..200)), * bmpString BMPString(SIZE (1..200)), * utf8String UTF8String(SIZE (1..200)) } * ``` */ export type DisplayText = { visibleString: VisibleString; } | { bmpString: BMPString; } | { utf8String: UTF8String; }; /** * @summary Decodes an ASN.1 element into a(n) DisplayText * @function * @param {_Element} el The element being decoded. * @returns {DisplayText} The decoded data structure. */ export declare function _decode_DisplayText(el: _Element): DisplayText; /** * @summary Encodes a(n) DisplayText 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 DisplayText, encoded as an ASN.1 Element. */ export declare function _encode_DisplayText(value: DisplayText, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=DisplayText.ta.d.mts.map