import * as $ from "@wildboar/asn1/functional";
import { CommonKeyAttributes } from "../PKCS-15/CommonKeyAttributes.ta.mjs";
import { CommonPrivateKeyAttributes } from "../PKCS-15/CommonPrivateKeyAttributes.ta.mjs";
import { PKCS15Object } from "../PKCS-15/PKCS15Object.ta.mjs";
/**
 * @summary PrivateKeyObject
 * @description
 *
 * ### ASN.1 Definition:
 *
 * ```asn1
 * PrivateKeyObject {KeyAttributes}  ::=  PKCS15Object {
 *     CommonKeyAttributes,
 *     CommonPrivateKeyAttributes,
 *     KeyAttributes
 * }
 * ```
 */
export type PrivateKeyObject<KeyAttributes> = PKCS15Object<CommonKeyAttributes, CommonPrivateKeyAttributes, KeyAttributes>;
/**
 * @summary Returns a function that will decode an ASN.1 element into a(n) PrivateKeyObject
 * @function
 * @param {_Element} el The element being decoded.
 * @returns A function that will decode an ASN.1 element.
 */
export declare function _get_decoder_for_PrivateKeyObject<KeyAttributes>(_decode_KeyAttributes: $.ASN1Decoder<KeyAttributes>): $.ASN1Decoder<PrivateKeyObject<KeyAttributes>>;
/**
 * @summary Returns a function that will encode a(n) PrivateKeyObject into an ASN.1 Element.
 * @function
 * @returns A function that will encode a(n) PrivateKeyObject as an ASN.1 element.
 */
export declare function _get_encoder_for_PrivateKeyObject<KeyAttributes>(_encode_KeyAttributes: $.ASN1Encoder<KeyAttributes>): $.ASN1Encoder<PrivateKeyObject<KeyAttributes>>;
//# sourceMappingURL=PrivateKeyObject.ta.d.mts.map