/**
 * Port Service
 *
 * Port availability checking and auto-increment logic for the web server.
 * Uses node:net try-bind pattern (same approach as Vite).
 */
/** Default port for the Shep web UI */
export declare const DEFAULT_PORT = 4050;
/** Maximum number of ports to try before giving up */
export declare const MAX_PORT_ATTEMPTS = 20;
/**
 * Check if a port is available by attempting to bind to it.
 */
export declare function isPortAvailable(port: number): Promise<boolean>;
/**
 * Find an available port starting from `startPort`, incrementing up to `maxAttempts`.
 * Throws if no available port is found or if the port is out of valid range.
 */
export declare function findAvailablePort(startPort: number, maxAttempts?: number): Promise<number>;
//# sourceMappingURL=port.service.d.ts.map