import type * as http from 'node:http'; import type { JwsVerifier } from './server.classes.jws.verifier.js'; import type { IServerAccountStore } from './server.interfaces.js'; /** * POST /new-account — Register or retrieve an ACME account. * Expects JWS with JWK in protected header (not kid). */ export declare function createAccountHandler(baseUrl: string, jwsVerifier: JwsVerifier, accountStore: IServerAccountStore): (req: http.IncomingMessage, res: http.ServerResponse, _params: Record, body: any) => Promise;