import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ExtendedNetworkAddress_e163_4_address } from "../MTSAbstractService/ExtendedNetworkAddress-e163-4-address.ta.mjs"; import { PresentationAddress } from "../SelectedAttributeTypes/PresentationAddress.ta.mjs"; /** * @summary ExtendedNetworkAddress * @description * * ### ASN.1 Definition: * * ```asn1 * ExtendedNetworkAddress ::= CHOICE { * e163-4-address * SEQUENCE {number * [0] NumericString(SIZE (1..ub-e163-4-number-length)), * sub-address * [1] NumericString(SIZE (1..ub-e163-4-sub-address-length)) * OPTIONAL}, * psap-address [0] PresentationAddress * } * ``` */ export type ExtendedNetworkAddress = { e163_4_address: ExtendedNetworkAddress_e163_4_address; } | { psap_address: PresentationAddress; }; /** * @summary Decodes an ASN.1 element into a(n) ExtendedNetworkAddress * @function * @param {_Element} el The element being decoded. * @returns {ExtendedNetworkAddress} The decoded data structure. */ export declare function _decode_ExtendedNetworkAddress(el: _Element): ExtendedNetworkAddress; /** * @summary Encodes a(n) ExtendedNetworkAddress 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 ExtendedNetworkAddress, encoded as an ASN.1 Element. */ export declare function _encode_ExtendedNetworkAddress(value: ExtendedNetworkAddress, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ExtendedNetworkAddress.ta.d.mts.map