import { OBJECT_IDENTIFIER, REAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; /** * @summary DataRate * @description * * ### ASN.1 Definition: * * ```asn1 * DataRate ::= CHOICE {real REAL, * oi OBJECT IDENTIFIER * } * ``` */ export type DataRate = { real: REAL; } | { oi: OBJECT_IDENTIFIER; }; /** * @summary Decodes an ASN.1 element into a(n) DataRate * @function * @param {_Element} el The element being decoded. * @returns {DataRate} The decoded data structure. */ export declare function _decode_DataRate(el: _Element): DataRate; /** * @summary Encodes a(n) DataRate 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 DataRate, encoded as an ASN.1 Element. */ export declare function _encode_DataRate(value: DataRate, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=DataRate.ta.d.mts.map