import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { AttributeType } from "../InformationFramework/AttributeType.ta.mjs"; /** * @summary CriteriaItem * @description * * ### ASN.1 Definition: * * ```asn1 * CriteriaItem ::= CHOICE { * equality [0] AttributeType, * substrings [1] AttributeType, * greaterOrEqual [2] AttributeType, * lessOrEqual [3] AttributeType, * approximateMatch [4] AttributeType, * ... } * ``` */ export type CriteriaItem = { equality: AttributeType; } | { substrings: AttributeType; } | { greaterOrEqual: AttributeType; } | { lessOrEqual: AttributeType; } | { approximateMatch: AttributeType; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) CriteriaItem * @function * @param {_Element} el The element being decoded. * @returns {CriteriaItem} The decoded data structure. */ export declare function _decode_CriteriaItem(el: _Element): CriteriaItem; /** * @summary Encodes a(n) CriteriaItem 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 CriteriaItem, encoded as an ASN.1 Element. */ export declare function _encode_CriteriaItem(value: CriteriaItem, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=CriteriaItem.ta.d.mts.map