import type http from 'http'; /** * Returns a HTTP server wrapped in a promise * * This function resolves when the server is closed. */ export declare const startServer: (server: http.Server, port?: number) => Promise;