import { OPTIONAL, BOOLEAN, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; /** * @summary ResponseFlags * @description * * ### ASN.1 Definition: * * ```asn1 * ResponseFlags ::= SEQUENCE { * fullRequestInResponse [0] BOOLEAN DEFAULT FALSE, * responseValidationPolByRef [1] BOOLEAN DEFAULT TRUE, * * protectResponse [2] BOOLEAN DEFAULT TRUE, * cachedResponse [3] BOOLEAN DEFAULT TRUE * } * ``` * */ export declare class ResponseFlags { /** * @summary `fullRequestInResponse`. * @public * @readonly */ readonly fullRequestInResponse?: OPTIONAL; /** * @summary `responseValidationPolByRef`. * @public * @readonly */ readonly responseValidationPolByRef?: OPTIONAL; /** * @summary `protectResponse`. * @public * @readonly */ readonly protectResponse?: OPTIONAL; /** * @summary `cachedResponse`. * @public * @readonly */ readonly cachedResponse?: OPTIONAL; constructor( /** * @summary `fullRequestInResponse`. * @public * @readonly */ fullRequestInResponse?: OPTIONAL, /** * @summary `responseValidationPolByRef`. * @public * @readonly */ responseValidationPolByRef?: OPTIONAL, /** * @summary `protectResponse`. * @public * @readonly */ protectResponse?: OPTIONAL, /** * @summary `cachedResponse`. * @public * @readonly */ cachedResponse?: OPTIONAL); /** * @summary Restructures an object into a ResponseFlags * @description * * This takes an `object` and converts it to a `ResponseFlags`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ResponseFlags`. * @returns {ResponseFlags} */ static _from_object(_o: { [_K in keyof ResponseFlags]: ResponseFlags[_K]; }): ResponseFlags; /** * @summary Getter that returns the default value for `fullRequestInResponse`. * @public * @static * @method */ static get _default_value_for_fullRequestInResponse(): boolean; /** * @summary Getter that returns the default value for `responseValidationPolByRef`. * @public * @static * @method */ static get _default_value_for_responseValidationPolByRef(): boolean; /** * @summary Getter that returns the default value for `protectResponse`. * @public * @static * @method */ static get _default_value_for_protectResponse(): boolean; /** * @summary Getter that returns the default value for `cachedResponse`. * @public * @static * @method */ static get _default_value_for_cachedResponse(): boolean; } /** * @summary The Leading Root Component Types of ResponseFlags * @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_ResponseFlags: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ResponseFlags * @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_ResponseFlags: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ResponseFlags * @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_ResponseFlags: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ResponseFlags * @function * @param {_Element} el The element being decoded. * @returns {ResponseFlags} The decoded data structure. */ export declare function _decode_ResponseFlags(el: _Element): ResponseFlags; /** * @summary Encodes a(n) ResponseFlags 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 ResponseFlags, encoded as an ASN.1 Element. */ export declare function _encode_ResponseFlags(value: ResponseFlags, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ResponseFlags.ta.d.mts.map