import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { OsiBindError_normal_mode_parameters } from "../OSIProtocolSpecification/OsiBindError-normal-mode-parameters.ta.mjs"; /** * @summary OsiBindError * @description * * ### ASN.1 Definition: * * ```asn1 * OsiBindError{APPLICATION-CONTEXT:Protocols} ::= CHOICE { * normal-mode-parameters SEQUENCE { * protocol-version [0] IMPLICIT BIT STRING {version-1(0)} * DEFAULT {version-1}, * responding-presentation-selector * [3] IMPLICIT Presentation-selector OPTIONAL, * presentation-context-definition-result-list * [5] IMPLICIT Result-list OPTIONAL, * provider-reason [10] IMPLICIT Provider-reason OPTIONAL, * user-data CHOICE { * fully-encoded-data [APPLICATION 1] IMPLICIT SEQUENCE SIZE (1) OF SEQUENCE { * transfer-syntax-name Transfer-syntax-name OPTIONAL, * presentation-context-identifier Presentation-context-identifier, * presentation-data-values CHOICE { * single-ASN1-type [0] * ABSTRACT-SYNTAX.&Type(AAREerr-apdu{{Protocols}})}}} OPTIONAL}} * ``` */ export type OsiBindError = { normal_mode_parameters: OsiBindError_normal_mode_parameters; }; /** * @summary Decodes an ASN.1 element into a(n) OsiBindError * @function * @param {_Element} el The element being decoded. * @returns {OsiBindError} The decoded data structure. */ export declare function _decode_OsiBindError(el: _Element): OsiBindError; /** * @summary Encodes a(n) OsiBindError 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 OsiBindError, encoded as an ASN.1 Element. */ export declare function _encode_OsiBindError(value: OsiBindError, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OsiBindError.ta.d.mts.map