/** * Whether a TCP port can still be bound on this machine. * * Binding is the only check that also sees processes the manifest store knows nothing about (an * unrelated server, a leftover process, an e2e run started from a checkout with its own generated * directory), so port bookkeeping always combines the manifests with this probe. */ export declare function isPortAvailable(port: number, host?: string): Promise; /** * Whether something accepts TCP connections on a port. * * The inverse of `isPortAvailable` is not the same check: a bind probe only tells us the port is * taken on the host we probed, while a server we want to talk to has to accept the connection. Used * to tell "your MySQL is not running" apart from "your MySQL is running elsewhere". */ export declare function isPortListening(port: number, host?: string, timeoutMs?: number): Promise; /** * The subset of `ports` that is already in use, in the order they were passed in. */ export declare function findBusyPorts(ports: number[], host?: string): Promise; //# sourceMappingURL=port-probe.d.ts.map