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