import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { ListResult } from "../DirectoryAbstractService/ListResult.ta.mjs"; import { ListResultData_listInfo } from "../DirectoryAbstractService/ListResultData-listInfo.ta.mjs"; /** * @summary ListResultData * @description * * ### ASN.1 Definition: * * ```asn1 * ListResultData ::= CHOICE { * listInfo SET { * name Name OPTIONAL, * subordinates [1] SET OF SEQUENCE { * rdn RelativeDistinguishedName, * aliasEntry [0] BOOLEAN DEFAULT FALSE, * fromEntry [1] BOOLEAN DEFAULT TRUE, * ... }, * partialOutcomeQualifier [2] PartialOutcomeQualifier OPTIONAL, * ..., * ..., * COMPONENTS OF CommonResults * }, * uncorrelatedListInfo [0] SET OF ListResult, * ... } * ``` */ export type ListResultData = { listInfo: ListResultData_listInfo; } | { uncorrelatedListInfo: ListResult[]; } | _Element; /** * @summary Decodes an ASN.1 element into a(n) ListResultData * @function * @param {_Element} el The element being decoded. * @returns {ListResultData} The decoded data structure. */ export declare function _decode_ListResultData(el: _Element): ListResultData; /** * @summary Encodes a(n) ListResultData 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 ListResultData, encoded as an ASN.1 Element. */ export declare function _encode_ListResultData(value: ListResultData, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=ListResultData.ta.d.mts.map