import { INTEGER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Scope_namedNumbers } from '../CMIP-1/Scope-namedNumbers.ta.mjs'; /** * @summary Scope * @description * * ### ASN.1 Definition: * * ```asn1 * Scope ::= CHOICE { * namedNumbers INTEGER {baseObject(0), firstLevelOnly(1), wholeSubtree(2)}, * individualLevels [1] IMPLICIT INTEGER, -- POSITIVE integer indicates the level to be selected * baseToNthLevel [2] IMPLICIT INTEGER * } * ``` */ export type Scope = { namedNumbers: Scope_namedNumbers; } | { individualLevels: INTEGER; } | { baseToNthLevel: INTEGER; }; /** * @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