/** * Checks if a port is available for use by attempting to bind to it. * Checks both IPv4 (0.0.0.0) and IPv6 (::) to ensure the port is truly available. * @param port The port number to check * @returns A promise that resolves to true if the port is available, false otherwise */ export declare function isPortAvailable(port: number): Promise; /** * Finds the next available port starting from the given port. * @param startPort The port number to start searching from * @returns A promise that resolves to an available port number * @throws Error if no available port is found up to port 65535 */ export declare function getAvailablePort(startPort: number): Promise; //# sourceMappingURL=port.d.ts.map