import { INTEGER, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { OperationSpecifications } from '../Schedulerev1-ASN1Module/OperationSpecifications.ta.mjs'; /** * @summary IndexOrOperSpec * @description * * ### ASN.1 Definition: * * ```asn1 * IndexOrOperSpec ::= CHOICE { * index [0] INTEGER, * operation [1] OperationSpecifications * } * ``` */ export type IndexOrOperSpec = { index: INTEGER; } | { operation: OperationSpecifications; }; /** * @summary Decodes an ASN.1 element into a(n) IndexOrOperSpec * @function * @param {_Element} el The element being decoded. * @returns {IndexOrOperSpec} The decoded data structure. */ export declare function _decode_IndexOrOperSpec(el: _Element): IndexOrOperSpec; /** * @summary Encodes a(n) IndexOrOperSpec 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 IndexOrOperSpec, encoded as an ASN.1 Element. */ export declare function _encode_IndexOrOperSpec(value: IndexOrOperSpec, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=IndexOrOperSpec.ta.d.mts.map