import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ConsumerUpdateMode } from "../DirectoryShadowAbstractService/ConsumerUpdateMode.ta.mjs"; import { SupplierUpdateMode } from "../DirectoryShadowAbstractService/SupplierUpdateMode.ta.mjs"; /** * @summary UpdateMode * @description * * ### ASN.1 Definition: * * ```asn1 * UpdateMode ::= CHOICE { * supplierInitiated [0] SupplierUpdateMode, * consumerInitiated [1] ConsumerUpdateMode, * ... } * ``` */ export type UpdateMode = { supplierInitiated: SupplierUpdateMode; } | { consumerInitiated: ConsumerUpdateMode; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) UpdateMode * @function * @param {_Element} el The element being decoded. * @returns {UpdateMode} The decoded data structure. */ export declare function _decode_UpdateMode(el: _Element): UpdateMode; /** * @summary Encodes a(n) UpdateMode 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 UpdateMode, encoded as an ASN.1 Element. */ export declare function _encode_UpdateMode(value: UpdateMode, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=UpdateMode.ta.d.mts.map