import { ASN1Element as _Element, NULL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { SelectedTypes } from "../EnhancedSecurity/SelectedTypes.ta.mjs"; /** * @summary Scope * @description * * ### ASN.1 Definition: * * ```asn1 * Scope ::= CHOICE { * wholeEntry [0] NULL, -- Signature protects all attribute values in this entry * selectedTypes [1] SelectedTypes, * -- Signature protects all attribute values of the selected attribute types * ... } * ``` */ export type Scope = { wholeEntry: NULL; } | { selectedTypes: SelectedTypes; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) Scope * @function * @param {_Element} el The element being decoded. * @returns {Scope} The decoded data structure. */ export declare function _decode_Scope(el: _Element): Scope; /** * @summary Encodes a(n) Scope 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 Scope, encoded as an ASN.1 Element. */ export declare function _encode_Scope(value: Scope, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=Scope.ta.d.mts.map