import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { UnitOfReplication } from "../DirectoryShadowAbstractService/UnitOfReplication.ta.mjs"; import { UpdateMode } from "../DirectoryShadowAbstractService/UpdateMode.ta.mjs"; import { AccessPoint } from "../DistributedOperations/AccessPoint.ta.mjs"; /** * @summary ShadowingAgreementInfo * @description * * ### ASN.1 Definition: * * ```asn1 * ShadowingAgreementInfo ::= SEQUENCE { * shadowSubject UnitOfReplication, * updateMode UpdateMode DEFAULT supplierInitiated:onChange:TRUE, * master AccessPoint OPTIONAL, * secondaryShadows [2] BOOLEAN DEFAULT FALSE } * ``` * */ export declare class ShadowingAgreementInfo { /** * @summary `shadowSubject`. * @public * @readonly */ readonly shadowSubject: UnitOfReplication; /** * @summary `updateMode`. * @public * @readonly */ readonly updateMode?: OPTIONAL; /** * @summary `master`. * @public * @readonly */ readonly master?: OPTIONAL; /** * @summary `secondaryShadows`. * @public * @readonly */ readonly secondaryShadows?: OPTIONAL; constructor( /** * @summary `shadowSubject`. * @public * @readonly */ shadowSubject: UnitOfReplication, /** * @summary `updateMode`. * @public * @readonly */ updateMode?: OPTIONAL, /** * @summary `master`. * @public * @readonly */ master?: OPTIONAL, /** * @summary `secondaryShadows`. * @public * @readonly */ secondaryShadows?: OPTIONAL); /** * @summary Restructures an object into a ShadowingAgreementInfo * @description * * This takes an `object` and converts it to a `ShadowingAgreementInfo`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `ShadowingAgreementInfo`. * @returns {ShadowingAgreementInfo} */ static _from_object(_o: { [_K in keyof ShadowingAgreementInfo]: ShadowingAgreementInfo[_K]; }): ShadowingAgreementInfo; /** * @summary Getter that returns the default value for `updateMode`. * @public * @static * @method */ static get _default_value_for_updateMode(): UpdateMode; /** * @summary Getter that returns the default value for `secondaryShadows`. * @public * @static * @method */ static get _default_value_for_secondaryShadows(): BOOLEAN; } /** * @summary The Leading Root Component Types of ShadowingAgreementInfo * @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_ShadowingAgreementInfo: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of ShadowingAgreementInfo * @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_ShadowingAgreementInfo: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of ShadowingAgreementInfo * @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_ShadowingAgreementInfo: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) ShadowingAgreementInfo * @function * @param {_Element} el The element being decoded. * @returns {ShadowingAgreementInfo} The decoded data structure. */ export declare function _decode_ShadowingAgreementInfo(el: _Element): ShadowingAgreementInfo; /** * @summary Encodes a(n) ShadowingAgreementInfo 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 ShadowingAgreementInfo, encoded as an ASN.1 Element. */ export declare function _encode_ShadowingAgreementInfo(value: ShadowingAgreementInfo, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ShadowingAgreementInfo.ta.d.mts.map