import { ASN1Element as _Element, INTEGER, OBJECT_IDENTIFIER, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { FamilyGrouping, _enum_for_FamilyGrouping } from "../DirectoryAbstractService/FamilyGrouping.ta.mjs"; import { FamilyReturn } from "../DirectoryAbstractService/FamilyReturn.ta.mjs"; import { AttributeType } from "../InformationFramework/AttributeType.ta.mjs"; import { UnboundedDirectoryString } from "../SelectedAttributeTypes/UnboundedDirectoryString.ta.mjs"; import { AllowedSubset } from "../ServiceAdministration/AllowedSubset.ta.mjs"; import { AttributeCombination } from "../ServiceAdministration/AttributeCombination.ta.mjs"; import { ControlOptions } from "../ServiceAdministration/ControlOptions.ta.mjs"; import { EntryLimit } from "../ServiceAdministration/EntryLimit.ta.mjs"; import { ImposedSubset, _enum_for_ImposedSubset } from "../ServiceAdministration/ImposedSubset.ta.mjs"; import { RelaxationPolicy } from "../ServiceAdministration/RelaxationPolicy.ta.mjs"; import { RequestAttribute } from "../ServiceAdministration/RequestAttribute.ta.mjs"; import { ResultAttribute } from "../ServiceAdministration/ResultAttribute.ta.mjs"; import { SearchRule } from "../ServiceAdministration/SearchRule.ta.mjs"; /** * @summary SearchRuleDescription * @description * * ### ASN.1 Definition: * * ```asn1 * SearchRuleDescription ::= SEQUENCE { * COMPONENTS OF SearchRule, * name [28] SET SIZE (1..MAX) OF UnboundedDirectoryString OPTIONAL, * description [29] UnboundedDirectoryString OPTIONAL, * ... } * ``` * */ export declare class SearchRuleDescription extends SearchRule { /** * @summary `id`. * @public * @readonly */ readonly id: INTEGER; /** * @summary `dmdId`. * @public * @readonly */ readonly dmdId: OBJECT_IDENTIFIER; /** * @summary `serviceType`. * @public * @readonly */ readonly serviceType?: OPTIONAL; /** * @summary `userClass`. * @public * @readonly */ readonly userClass?: OPTIONAL; /** * @summary `inputAttributeTypes`. * @public * @readonly */ readonly inputAttributeTypes?: OPTIONAL; /** * @summary `attributeCombination`. * @public * @readonly */ readonly attributeCombination?: OPTIONAL; /** * @summary `outputAttributeTypes`. * @public * @readonly */ readonly outputAttributeTypes?: OPTIONAL; /** * @summary `defaultControls`. * @public * @readonly */ readonly defaultControls?: OPTIONAL; /** * @summary `mandatoryControls`. * @public * @readonly */ readonly mandatoryControls?: OPTIONAL; /** * @summary `searchRuleControls`. * @public * @readonly */ readonly searchRuleControls?: OPTIONAL; /** * @summary `familyGrouping`. * @public * @readonly */ readonly familyGrouping?: OPTIONAL; /** * @summary `familyReturn`. * @public * @readonly */ readonly familyReturn?: OPTIONAL; /** * @summary `relaxation`. * @public * @readonly */ readonly relaxation?: OPTIONAL; /** * @summary `additionalControl`. * @public * @readonly */ readonly additionalControl?: OPTIONAL; /** * @summary `allowedSubset`. * @public * @readonly */ readonly allowedSubset?: OPTIONAL; /** * @summary `imposedSubset`. * @public * @readonly */ readonly imposedSubset?: OPTIONAL; /** * @summary `entryLimit`. * @public * @readonly */ readonly entryLimit?: OPTIONAL; /** * @summary `name`. * @public * @readonly */ readonly name?: OPTIONAL; /** * @summary `description`. * @public * @readonly */ readonly description?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `id`. * @public * @readonly */ id: INTEGER, /** * @summary `dmdId`. * @public * @readonly */ dmdId: OBJECT_IDENTIFIER, /** * @summary `serviceType`. * @public * @readonly */ serviceType?: OPTIONAL, /** * @summary `userClass`. * @public * @readonly */ userClass?: OPTIONAL, /** * @summary `inputAttributeTypes`. * @public * @readonly */ inputAttributeTypes?: OPTIONAL, /** * @summary `attributeCombination`. * @public * @readonly */ attributeCombination?: OPTIONAL, /** * @summary `outputAttributeTypes`. * @public * @readonly */ outputAttributeTypes?: OPTIONAL, /** * @summary `defaultControls`. * @public * @readonly */ defaultControls?: OPTIONAL, /** * @summary `mandatoryControls`. * @public * @readonly */ mandatoryControls?: OPTIONAL, /** * @summary `searchRuleControls`. * @public * @readonly */ searchRuleControls?: OPTIONAL, /** * @summary `familyGrouping`. * @public * @readonly */ familyGrouping?: OPTIONAL, /** * @summary `familyReturn`. * @public * @readonly */ familyReturn?: OPTIONAL, /** * @summary `relaxation`. * @public * @readonly */ relaxation?: OPTIONAL, /** * @summary `additionalControl`. * @public * @readonly */ additionalControl?: OPTIONAL, /** * @summary `allowedSubset`. * @public * @readonly */ allowedSubset?: OPTIONAL, /** * @summary `imposedSubset`. * @public * @readonly */ imposedSubset?: OPTIONAL, /** * @summary `entryLimit`. * @public * @readonly */ entryLimit?: OPTIONAL, /** * @summary `name`. * @public * @readonly */ name?: OPTIONAL, /** * @summary `description`. * @public * @readonly */ description?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a SearchRuleDescription * @description * * This takes an `object` and converts it to a `SearchRuleDescription`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `SearchRuleDescription`. * @returns {SearchRuleDescription} */ static _from_object(_o: { [_K in keyof SearchRuleDescription]: SearchRuleDescription[_K]; }): SearchRuleDescription; /** * @summary Getter that returns the default value for `attributeCombination`. * @public * @static * @method */ static get _default_value_for_attributeCombination(): AttributeCombination; /** * @summary Getter that returns the default value for `allowedSubset`. * @public * @static * @method */ static get _default_value_for_allowedSubset(): AllowedSubset; /** * @summary The enum used as the type of the component `familyGrouping` * @public * @static */ static _enum_for_familyGrouping: typeof _enum_for_FamilyGrouping; /** * @summary The enum used as the type of the component `imposedSubset` * @public * @static */ static _enum_for_imposedSubset: typeof _enum_for_ImposedSubset; } /** * @summary The Leading Root Component Types of SearchRuleDescription * @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_SearchRuleDescription: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of SearchRuleDescription * @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_SearchRuleDescription: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of SearchRuleDescription * @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_SearchRuleDescription: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) SearchRuleDescription * @function * @param {_Element} el The element being decoded. * @returns {SearchRuleDescription} The decoded data structure. */ export declare function _decode_SearchRuleDescription(el: _Element): SearchRuleDescription; /** * @summary Encodes a(n) SearchRuleDescription 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 SearchRuleDescription, encoded as an ASN.1 Element. */ export declare function _encode_SearchRuleDescription(value: SearchRuleDescription, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SearchRuleDescription.ta.d.mts.map