import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { OptionalIdentifier } from '../GrmAttributeDefinitionModule/OptionalIdentifier.ta.mjs'; import { OptionalIdentifierAndRole } from '../GrmAttributeDefinitionModule/OptionalIdentifierAndRole.ta.mjs'; /** * @summary RelationshipOperation * @description * * ### ASN.1 Definition: * * ```asn1 * RelationshipOperation ::= CHOICE { * establish [0] EXPLICIT OptionalIdentifier, * terminate [1] EXPLICIT OptionalIdentifier, * query [2] OptionalIdentifierAndRole, * notify [3] EXPLICIT OptionalIdentifier, * userDefined [4] EXPLICIT OptionalIdentifier, * bind [5] OptionalIdentifierAndRole, * unbind [6] OptionalIdentifierAndRole * } * ``` */ export type RelationshipOperation = { establish: OptionalIdentifier; } | { terminate: OptionalIdentifier; } | { query: OptionalIdentifierAndRole; } | { notify: OptionalIdentifier; } | { userDefined: OptionalIdentifier; } | { bind: OptionalIdentifierAndRole; } | { unbind: OptionalIdentifierAndRole; }; /** * @summary Decodes an ASN.1 element into a(n) RelationshipOperation * @function * @param {_Element} el The element being decoded. * @returns {RelationshipOperation} The decoded data structure. */ export declare function _decode_RelationshipOperation(el: _Element): RelationshipOperation; /** * @summary Encodes a(n) RelationshipOperation 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 RelationshipOperation, encoded as an ASN.1 Element. */ export declare function _encode_RelationshipOperation(value: RelationshipOperation, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=RelationshipOperation.ta.d.mts.map