import type { Server } from 'node:http'; /** * Given a server and a starting port, keep listening on every port in * sequence until the first available one is found, and return it. * * If an available port cannot be found, then the last error will be raised. */ export declare const listenCarefully: (server: Server, start: number, end?: number) => Promise; //# sourceMappingURL=listen-carefully.d.ts.map