import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { InvokeId } from "../CommonProtocolSpecification/InvokeId.ta.mjs"; import { OsiRes_result } from "../OSIProtocolSpecification/OsiRes-result.ta.mjs"; /** * @summary OsiRes * @description * * ### ASN.1 Definition: * * ```asn1 * OsiRes{OPERATION:Operations} ::= [2] IMPLICIT SEQUENCE { * invokeId InvokeId, * result SEQUENCE { * opcode OPERATION.&operationCode({Operations}), * result OPERATION.&ResultType({Operations}{@.opcode}) }} * ``` * */ export declare class OsiRes { /** * @summary `invokeId`. * @public * @readonly */ readonly invokeId: InvokeId; /** * @summary `result`. * @public * @readonly */ readonly result: OsiRes_result; constructor( /** * @summary `invokeId`. * @public * @readonly */ invokeId: InvokeId, /** * @summary `result`. * @public * @readonly */ result: OsiRes_result); /** * @summary Restructures an object into a OsiRes * @description * * This takes an `object` and converts it to a `OsiRes`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `OsiRes`. * @returns {OsiRes} */ static _from_object(_o: { [_K in keyof OsiRes]: OsiRes[_K]; }): OsiRes; } /** * @summary The Leading Root Component Types of OsiRes * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_OsiRes: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of OsiRes * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_OsiRes: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of OsiRes * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_OsiRes: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) OsiRes * @function * @param {_Element} el The element being decoded. * @returns {OsiRes} The decoded data structure. */ export declare function _decode_OsiRes(el: _Element): OsiRes; /** * @summary Encodes a(n) OsiRes 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 OsiRes, encoded as an ASN.1 Element. */ export declare function _encode_OsiRes(value: OsiRes, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OsiRes.ta.d.mts.map