import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { Attribute } from "../InformationFramework/Attribute.ta.mjs"; import { AttributeType } from "../InformationFramework/AttributeType.ta.mjs"; import { AttributeTypeAndValue } from "../InformationFramework/AttributeTypeAndValue.ta.mjs"; /** * @summary EntryModification * @description * * ### ASN.1 Definition: * * ```asn1 * EntryModification ::= CHOICE { * addAttribute [0] Attribute{{SupportedAttributes}}, * removeAttribute [1] AttributeType, * addValues [2] Attribute{{SupportedAttributes}}, * removeValues [3] Attribute{{SupportedAttributes}}, * alterValues [4] AttributeTypeAndValue, * resetValue [5] AttributeType, * replaceValues [6] Attribute{{SupportedAttributes}}, * ... } * ``` */ export type EntryModification = { addAttribute: Attribute; } | { removeAttribute: AttributeType; } | { addValues: Attribute; } | { removeValues: Attribute; } | { alterValues: AttributeTypeAndValue; } | { resetValue: AttributeType; } | { replaceValues: Attribute; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) EntryModification * @function * @param {_Element} el The element being decoded. * @returns {EntryModification} The decoded data structure. */ export declare function _decode_EntryModification(el: _Element): EntryModification; /** * @summary Encodes a(n) EntryModification 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 EntryModification, encoded as an ASN.1 Element. */ export declare function _encode_EntryModification(value: EntryModification, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=EntryModification.ta.d.mts.map