import * as plugins from '../plugins.js'; import type { ICertManager } from '../interfaces/certmanager.js'; import { SmartacmeCert } from '../smartacme.classes.cert.js'; /** * MongoDB-backed certificate manager using EasyStore from smartdata. */ export declare class MongoCertManager implements ICertManager { private db; private store; /** * @param mongoDescriptor MongoDB connection settings */ constructor(mongoDescriptor: plugins.smartdata.IMongoDescriptor); init(): Promise; retrieveCertificate(domainName: string): Promise; storeCertificate(cert: SmartacmeCert): Promise; deleteCertificate(domainName: string): Promise; close(): Promise; /** * Wipe all certificates from the persistent store (for integration testing) */ wipe(): Promise; }