/**
 * Check if a TCP port is available before attempting to bind.
 * Returns true if the port is free, false if it's in use.
 */
export declare function isPortAvailable(port: number, host?: string): Promise<boolean>;
/**
 * Check port availability and throw a clear error if it's in use.
 */
export declare function requirePortAvailable(port: number, host?: string, label?: string): Promise<void>;
//# sourceMappingURL=port-check.d.ts.map