import { ASN1Element as _Element, OPTIONAL } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
import { KeyManagementInfo } from "../PKCS-15/KeyManagementInfo.ta.mjs";
import { PKCS15Objects } from "../PKCS-15/PKCS15Objects.ta.mjs";
import { PKCS15Token_version } from "../PKCS-15/PKCS15Token-version.ta.mjs";
/**
 * @summary PKCS15Token
 * @description
 *
 * ### ASN.1 Definition:
 *
 * ```asn1
 * PKCS15Token ::= SEQUENCE {
 *     version INTEGER {v1(0)} (v1,...),
 *     keyManagementInfo [0] KeyManagementInfo OPTIONAL,
 *     pkcs15Objects SEQUENCE OF PKCS15Objects
 * }
 * ```
 *
 */
export declare class PKCS15Token {
    /**
     * @summary `version`.
     * @public
     * @readonly
     */
    readonly version: PKCS15Token_version;
    /**
     * @summary `keyManagementInfo`.
     * @public
     * @readonly
     */
    readonly keyManagementInfo: OPTIONAL<KeyManagementInfo>;
    /**
     * @summary `pkcs15Objects`.
     * @public
     * @readonly
     */
    readonly pkcs15Objects: PKCS15Objects[];
    constructor(
    /**
     * @summary `version`.
     * @public
     * @readonly
     */
    version: PKCS15Token_version, 
    /**
     * @summary `keyManagementInfo`.
     * @public
     * @readonly
     */
    keyManagementInfo: OPTIONAL<KeyManagementInfo>, 
    /**
     * @summary `pkcs15Objects`.
     * @public
     * @readonly
     */
    pkcs15Objects: PKCS15Objects[]);
    /**
     * @summary Restructures an object into a PKCS15Token
     * @description
     *
     * This takes an `object` and converts it to a `PKCS15Token`.
     *
     * @public
     * @static
     * @method
     * @param {Object} _o An object having all of the keys and values of a `PKCS15Token`.
     * @returns {PKCS15Token}
     */
    static _from_object(_o: {
        [_K in keyof PKCS15Token]: PKCS15Token[_K];
    }): PKCS15Token;
}
/**
 * @summary The Leading Root Component Types of PKCS15Token
 * @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_PKCS15Token: $.ComponentSpec[];
/**
 * @summary The Trailing Root Component Types of PKCS15Token
 * @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_PKCS15Token: $.ComponentSpec[];
/**
 * @summary The Extension Addition Component Types of PKCS15Token
 * @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_PKCS15Token: $.ComponentSpec[];
/**
 * @summary Decodes an ASN.1 element into a(n) PKCS15Token
 * @function
 * @param {_Element} el The element being decoded.
 * @returns {PKCS15Token} The decoded data structure.
 */
export declare function _decode_PKCS15Token(el: _Element): PKCS15Token;
/**
 * @summary Encodes a(n) PKCS15Token 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 PKCS15Token, encoded as an ASN.1 Element.
 */
export declare function _encode_PKCS15Token(value: PKCS15Token, elGetter: $.ASN1Encoder<PKCS15Token>): _Element;
//# sourceMappingURL=PKCS15Token.ta.d.mts.map