import type { AppiumServerConfig } from '../config/types'; /** * AppiumServer manages the Appium WebDriver server lifecycle. * Handles: * - Starting/stopping the Appium server * - Health checks via HTTP status endpoint * - Port allocation if conflicts * - Process management */ export declare class AppiumServer { private config; private process; private url; private retries; private maxRetries; constructor(config?: Partial); /** * Start the Appium server. * If remoteUrl is configured, skip local server startup. * If port is in use, try next port. */ start(): Promise; /** * Stop the Appium server. */ stop(): Promise; /** * Get the server URL. */ getUrl(): string; /** * Check if server is healthy via HTTP status endpoint. */ isHealthy(): Promise; /** * Start the Appium server process. * Appium is expected to be installed globally or via npm. */ private startServerProcess; /** * Wait for the server to become healthy. * Retries with exponential backoff. */ private waitForHealth; } /** * Check if Appium is installed on the system. * Returns true if 'appium --version' succeeds. */ export declare function isAppiumInstalled(): boolean; /** * Get installed Appium version. * Returns the version string or null if Appium is not installed. */ export declare function getAppiumVersion(): string | null; //# sourceMappingURL=appium-server.d.ts.map