import { ASN1Element as _Element } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { AuthenticationObject } from "../PKCS-15/AuthenticationObject.ta.mjs";
import { AuthKeyAttributes } from "../PKCS-15/AuthKeyAttributes.ta.mjs";
import { BiometricAttributes } from "../PKCS-15/BiometricAttributes.ta.mjs";
import { ExternalAuthObjectAttributes } from "../PKCS-15/ExternalAuthObjectAttributes.ta.mjs";
import { PinAttributes } from "../PKCS-15/PinAttributes.ta.mjs";
/**
 * @summary AuthenticationType
 * @description
 *
 * ### ASN.1 Definition:
 *
 * ```asn1
 * AuthenticationType  ::=  CHOICE {
 *     pin AuthenticationObject { PinAttributes },
 *     ...,
 *     biometricTemplate [0] AuthenticationObject {BiometricAttributes},
 *     authKey  [1] AuthenticationObject {AuthKeyAttributes},
 *     external [2] AuthenticationObject {ExternalAuthObjectAttributes}
 * }
 * ```
 */
export type AuthenticationType = {
    pin: AuthenticationObject<PinAttributes>;
} | {
    biometricTemplate: AuthenticationObject<BiometricAttributes>;
} | {
    authKey: AuthenticationObject<AuthKeyAttributes>;
} | {
    external: AuthenticationObject<ExternalAuthObjectAttributes>;
} | _Element;
/**
 * @summary Decodes an ASN.1 element into a(n) AuthenticationType
 * @function
 * @param {_Element} el The element being decoded.
 * @returns {AuthenticationType} The decoded data structure.
 */
export declare function _decode_AuthenticationType(el: _Element): AuthenticationType;
/**
 * @summary Encodes a(n) AuthenticationType 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 AuthenticationType, encoded as an ASN.1 Element.
 */
export declare function _encode_AuthenticationType(value: AuthenticationType, elGetter: $.ASN1Encoder<AuthenticationType>): _Element;
//# sourceMappingURL=AuthenticationType.ta.d.mts.map