import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ClockAddress } from '../TimeMF/ClockAddress.ta.mjs'; import { ReferenceClockType } from '../TimeMF/ReferenceClockType.ta.mjs'; /** * @summary CurrSynchSourceAddress * @description * * ### ASN.1 Definition: * * ```asn1 * CurrSynchSourceAddress ::= CHOICE { * refPeerAssoc [0] ClockAddress, * refClockID [1] ReferenceClockType * } * ``` */ export type CurrSynchSourceAddress = { refPeerAssoc: ClockAddress; } | { refClockID: ReferenceClockType; }; /** * @summary Decodes an ASN.1 element into a(n) CurrSynchSourceAddress * @function * @param {_Element} el The element being decoded. * @returns {CurrSynchSourceAddress} The decoded data structure. */ export declare function _decode_CurrSynchSourceAddress(el: _Element): CurrSynchSourceAddress; /** * @summary Encodes a(n) CurrSynchSourceAddress 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 CurrSynchSourceAddress, encoded as an ASN.1 Element. */ export declare function _encode_CurrSynchSourceAddress(value: CurrSynchSourceAddress, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=CurrSynchSourceAddress.ta.d.mts.map