import type { AcmeHttpClient } from './acme.classes.http-client.js'; import type { IAcmeChallenge } from './acme.interfaces.js'; /** * ACME challenge operations - key authorization computation and challenge completion */ export declare class AcmeChallengeManager { private httpClient; private accountKeyPem; constructor(httpClient: AcmeHttpClient, accountKeyPem: string); /** * Compute the key authorization for a challenge. * For http-01: returns `token.thumbprint` * For dns-01: returns `base64url(sha256(token.thumbprint))` * * This is a synchronous, pure-crypto computation. */ getKeyAuthorization(challenge: IAcmeChallenge): string; /** * Notify the ACME server to validate a challenge (POST {} to challenge URL) */ complete(challenge: IAcmeChallenge): Promise; }