import { type SoloLogger } from '../../core/logging/solo-logger.js';
/**
 * Utility class for port-related operations
 */
export declare class PortUtilities {
    /**
     * Check if a TCP port is available on the local machine
     * @param port Port number to check
     * @returns Promise that resolves to true if port is available, false otherwise
     */
    static isPortAvailable(port: number): Promise<boolean>;
    /**
     * Find an available port starting from the given port
     * @param startPort Port number to start checking from
     * @param timeoutMs Timeout in milliseconds before giving up (default: 30000)
     * @param logger logger for debug messages
     * @returns Promise that resolves to the first available port or throws an error if timeout is reached
     * @throws Error if no available port is found within the timeout period
     */
    static findAvailablePort(startPort: number, timeoutMs: number, logger: SoloLogger): Promise<number>;
}
