import type * as http from 'node:http'; import type { JwsVerifier } from './server.classes.jws.verifier.js'; import type { IServerOrderStore } from './server.interfaces.js'; import type { AcmeServerCA } from './server.classes.ca.js'; /** * POST /finalize/:id — Submit CSR and issue certificate. */ export declare function createFinalizeHandler(baseUrl: string, jwsVerifier: JwsVerifier, orderStore: IServerOrderStore, ca: AcmeServerCA): (req: http.IncomingMessage, res: http.ServerResponse, params: Record, body: any) => Promise;