/** * @module generate509 * Provides functionality to generate X.509 certificates for client authentication */ /** * Interface representing the PEM-formatted certificate components * @interface */ export interface pems { /** The Certificate Signing Request (CSR) in PEM format */ csr: string; /** The public key in PEM format */ publicKey: string; /** The private key in PEM format */ privateKey: string; } /** * Creates a new X.509 certificate for the given address * @param {string} address - The address to create the certificate for * @returns {Promise} Object containing the PEM-formatted certificate components * @example * const address = "exampleAddress"; * create(address).then(cert => { * console.log(cert.csr); // Outputs the CSR in PEM format * console.log(cert.publicKey); // Outputs the public key in PEM format * console.log(cert.privateKey); // Outputs the private key in PEM format * }); */ export declare function create(address: string): Promise;