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