import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { TestPattern } from '../TestCategories-ASN1Module/TestPattern.ta.mjs'; import { TestDirection } from '../TestCategories-ASN1Module/TestDirection.ta.mjs'; import { TestDuration } from '../TestCategories-ASN1Module/TestDuration.ta.mjs'; import { Timespec } from '../Test-ASN1Module/Timespec.ta.mjs'; /** * @summary ConnectionTestInfo * @description * * ### ASN.1 Definition: * * ```asn1 * ConnectionTestInfo ::= SEQUENCE { * testPattern [0] EXPLICIT TestPattern OPTIONAL, -- test pattern sent * testDirection [1] TestDirection OPTIONAL, * testDuration [2] EXPLICIT TestDuration OPTIONAL, * reportingInterval [3] Timespec OPTIONAL * } * ``` * */ export declare class ConnectionTestInfo { /** * @summary `testPattern`. * @public * @readonly */ readonly testPattern?: OPTIONAL; /** * @summary `testDirection`. * @public * @readonly */ readonly testDirection?: OPTIONAL; /** * @summary `testDuration`. * @public * @readonly */ readonly testDuration?: OPTIONAL; /** * @summary `reportingInterval`. * @public * @readonly */ readonly reportingInterval?: OPTIONAL; constructor( /** * @summary `testPattern`. * @public * @readonly */ testPattern?: OPTIONAL, /** * @summary `testDirection`. * @public * @readonly */ testDirection?: OPTIONAL, /** * @summary `testDuration`. * @public * @readonly */ testDuration?: OPTIONAL, /** * @summary `reportingInterval`. * @public * @readonly */ reportingInterval?: OPTIONAL); /** * @summary Restructures an object into a ConnectionTestInfo * @description * * This takes an `object` and converts it to a `ConnectionTestInfo`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ConnectionTestInfo`. * @returns {ConnectionTestInfo} */ static _from_object(_o: { [_K in keyof ConnectionTestInfo]: ConnectionTestInfo[_K]; }): ConnectionTestInfo; } /** * @summary The Leading Root Component Types of ConnectionTestInfo * @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_ConnectionTestInfo: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ConnectionTestInfo * @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_ConnectionTestInfo: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ConnectionTestInfo * @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_ConnectionTestInfo: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ConnectionTestInfo * @function * @param {_Element} el The element being decoded. * @returns {ConnectionTestInfo} The decoded data structure. */ export declare function _decode_ConnectionTestInfo(el: _Element): ConnectionTestInfo; /** * @summary Encodes a(n) ConnectionTestInfo 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 ConnectionTestInfo, encoded as an ASN.1 Element. */ export declare function _encode_ConnectionTestInfo(value: ConnectionTestInfo, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ConnectionTestInfo.ta.d.mts.map