import type * as http from 'node:http'; import type { JwsVerifier } from './server.classes.jws.verifier.js'; import type { IServerOrderStore } from './server.interfaces.js'; /** * POST /new-order — Create a new ACME order. */ export declare function createNewOrderHandler(baseUrl: string, jwsVerifier: JwsVerifier, orderStore: IServerOrderStore): (req: http.IncomingMessage, res: http.ServerResponse, _params: Record, body: any) => Promise; /** * POST /order/:id — Poll order status (POST-as-GET). */ export declare function createOrderPollHandler(baseUrl: string, jwsVerifier: JwsVerifier, orderStore: IServerOrderStore): (req: http.IncomingMessage, res: http.ServerResponse, params: Record, body: any) => Promise;