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