import { ASN1Element as _Element, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary ContextCombination * @description * * ### ASN.1 Definition: * * ```asn1 * ContextCombination ::= CHOICE { * context [0] CONTEXT.&id({SupportedContexts}), * and [1] SEQUENCE OF ContextCombination, * or [2] SEQUENCE OF ContextCombination, * not [3] ContextCombination, * ... } * ``` */ export type ContextCombination = { context: OBJECT_IDENTIFIER; } | { and: ContextCombination[]; } | { or: ContextCombination[]; } | { not: ContextCombination; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) ContextCombination * @function * @param {_Element} el The element being decoded. * @returns {ContextCombination} The decoded data structure. */ export declare function _decode_ContextCombination(el: _Element): ContextCombination; /** * @summary Encodes a(n) ContextCombination 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 ContextCombination, encoded as an ASN.1 Element. */ export declare function _encode_ContextCombination(value: ContextCombination, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ContextCombination.ta.d.mts.map