import type { DcRouter } from '../classes.dcrouter.js';
/**
 * Background start/retry/stop lifecycle for the DcRouter-owned SmartAcme
 * instance. SmartAcme startup can hit ACME rate limits, so startup runs in
 * the background with generation-guarded exponential retry, and certificate
 * provisioning is re-triggered once DNS-01 becomes ready.
 */
export declare class SmartAcmeLifecycle {
    private dcRouterRef;
    /** True once the SmartAcme DNS-01 provider finished starting. */
    ready: boolean;
    /** Tracks whether the taskbuffer SmartAcme service is started, so SmartProxy rebuilds can re-kick startup. */
    serviceStarted: boolean;
    private startGeneration;
    private startPromise?;
    private retryTimer?;
    private retryAttempt;
    constructor(dcRouterRef: DcRouter);
    startInBackground(): void;
    stop(): Promise<void>;
    private scheduleStart;
    private runStartAttempt;
    private retriggerCertificateProvisioning;
    private clearRetryTimer;
}
