import { NULL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { ObjectInstance } from '@wildboar/cmip'; /** * @summary OptionalObject * @description * * ### ASN.1 Definition: * * ```asn1 * OptionalObject ::= CHOICE {noObject NULL, * object ObjectInstance * } * ``` */ export type OptionalObject = { noObject: NULL; } | { object: ObjectInstance; }; /** * @summary Decodes an ASN.1 element into a(n) OptionalObject * @function * @param {_Element} el The element being decoded. * @returns {OptionalObject} The decoded data structure. */ export declare function _decode_OptionalObject(el: _Element): OptionalObject; /** * @summary Encodes a(n) OptionalObject 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 OptionalObject, encoded as an ASN.1 Element. */ export declare function _encode_OptionalObject(value: OptionalObject, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OptionalObject.ta.d.mts.map