import type { NonceManager } from './server.classes.nonce.js'; import type { IServerAccountStore } from './server.interfaces.js'; export interface IJwsVerifyResult { jwk: Record; kid: string | null; thumbprint: string; payload: any; } /** * Verifies JWS-signed ACME requests. * This is the inverse of AcmeCrypto.createJws(). */ export declare class JwsVerifier { private nonceManager; private accountStore; constructor(nonceManager: NonceManager, accountStore: IServerAccountStore); verify(body: { protected: string; payload: string; signature: string; }, expectedUrl: string): Promise; } /** * Simple error class for ACME server errors that maps to RFC 8555 problem responses. */ export declare class AcmeServerError extends Error { readonly status: number; readonly type: string; readonly detail: string; constructor(status: number, type: string, detail: string); }