import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ContextSelection } from "../DirectoryAbstractService/ContextSelection.ta.mjs"; import { EntryInformationSelection_attributes } from "../DirectoryAbstractService/EntryInformationSelection-attributes.ta.mjs"; import { EntryInformationSelection_extraAttributes } from "../DirectoryAbstractService/EntryInformationSelection-extraAttributes.ta.mjs"; import { EntryInformationSelection_infoTypes } from "../DirectoryAbstractService/EntryInformationSelection-infoTypes.ta.mjs"; import { FamilyReturn } from "../DirectoryAbstractService/FamilyReturn.ta.mjs"; /** * @summary EntryInformationSelection * @description * * ### ASN.1 Definition: * * ```asn1 * EntryInformationSelection ::= SET { * attributes CHOICE { * allUserAttributes [0] NULL, * select [1] SET OF AttributeType * -- empty set implies no attributes are requested -- } DEFAULT allUserAttributes:NULL, * infoTypes [2] INTEGER { * attributeTypesOnly (0), * attributeTypesAndValues (1)} DEFAULT attributeTypesAndValues, * extraAttributes CHOICE { * allOperationalAttributes [3] NULL, * select [4] SET SIZE (1..MAX) OF AttributeType } OPTIONAL, * contextSelection ContextSelection OPTIONAL, * returnContexts BOOLEAN DEFAULT FALSE, * familyReturn FamilyReturn DEFAULT * {memberSelect contributingEntriesOnly} } * ``` * */ export declare class EntryInformationSelection { /** * @summary `attributes`. * @public * @readonly */ readonly attributes?: OPTIONAL; /** * @summary `infoTypes`. * @public * @readonly */ readonly infoTypes?: OPTIONAL; /** * @summary `extraAttributes`. * @public * @readonly */ readonly extraAttributes?: OPTIONAL; /** * @summary `contextSelection`. * @public * @readonly */ readonly contextSelection?: OPTIONAL; /** * @summary `returnContexts`. * @public * @readonly */ readonly returnContexts?: OPTIONAL; /** * @summary `familyReturn`. * @public * @readonly */ readonly familyReturn?: OPTIONAL; constructor( /** * @summary `attributes`. * @public * @readonly */ attributes?: OPTIONAL, /** * @summary `infoTypes`. * @public * @readonly */ infoTypes?: OPTIONAL, /** * @summary `extraAttributes`. * @public * @readonly */ extraAttributes?: OPTIONAL, /** * @summary `contextSelection`. * @public * @readonly */ contextSelection?: OPTIONAL, /** * @summary `returnContexts`. * @public * @readonly */ returnContexts?: OPTIONAL, /** * @summary `familyReturn`. * @public * @readonly */ familyReturn?: OPTIONAL); /** * @summary Restructures an object into a EntryInformationSelection * @description * * This takes an `object` and converts it to a `EntryInformationSelection`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `EntryInformationSelection`. * @returns {EntryInformationSelection} */ static _from_object(_o: Partial<{ [_K in keyof EntryInformationSelection]: EntryInformationSelection[_K]; }>): EntryInformationSelection; /** * @summary Getter that returns the default value for `attributes`. * @public * @static * @method */ static get _default_value_for_attributes(): EntryInformationSelection_attributes; /** * @summary Getter that returns the default value for `infoTypes`. * @public * @static * @method */ static get _default_value_for_infoTypes(): EntryInformationSelection_infoTypes; /** * @summary Getter that returns the default value for `returnContexts`. * @public * @static * @method */ static get _default_value_for_returnContexts(): BOOLEAN; /** * @summary Getter that returns the default value for `familyReturn`. * @public * @static * @method */ static get _default_value_for_familyReturn(): FamilyReturn; } /** * @summary The Leading Root Component Types of EntryInformationSelection * @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_EntryInformationSelection: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of EntryInformationSelection * @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_EntryInformationSelection: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of EntryInformationSelection * @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_EntryInformationSelection: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) EntryInformationSelection * @function * @param {_Element} el The element being decoded. * @returns {EntryInformationSelection} The decoded data structure. */ export declare function _decode_EntryInformationSelection(el: _Element): EntryInformationSelection; /** * @summary Encodes a(n) EntryInformationSelection 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 EntryInformationSelection, encoded as an ASN.1 Element. */ export declare function _encode_EntryInformationSelection(value: EntryInformationSelection, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=EntryInformationSelection.ta.d.mts.map