import * as http from 'node:http'; import { type PortReservation } from './port-manager.js'; interface ReservedHttpServerOptions { takeReservation: () => PortReservation | null; onBindError: (error: NodeJS.ErrnoException) => void; holdOnClose?: () => boolean; onHeld?: (reservation: PortReservation) => void; } export declare function reservedHttpServer(options: ReservedHttpServerOptions): (serverOptions: http.ServerOptions | undefined, app: http.RequestListener) => http.Server; export {};