import { Options, Services } from '@wdio/types';
/**
 * LauncherService
 *
 * A WebdriverIO service for launching and managing IOCD (Electron-based) platform processes during test runs.
 * https://webdriver.io/docs/customservices/
 *
 * Responsibilities:
 * - Validates and prepares IOCD-specific capabilities at the start of a WDIO run.
 * - Dynamically spawns and manages Chromedriver and Electron platform processes.
 * - Supports launching Electron apps from both built executables and source code.
 * - Configures debugging ports and synchronizes the test environment using CDP (Chrome DevTools Protocol).
 * - Ensures processes are properly started and cleaned up across WDIO lifecycle hooks.
 * - Surfaces errors early and stops test execution if platform startup fails (using IocdWdioServiceError).
 *
 * Notes:
 * - This service mutates capabilities in place for compatibility with WDIO and ChromeDriver.
 * - Throws on critical errors to prevent running tests in an invalid environment.
 */
export declare class LauncherService implements Services.ServiceInstance {
    private logger;
    onPrepare(config: Options.Testrunner, capabilities: WebdriverIO.Capabilities[]): Promise<void>;
    onWorkerStart(_cid: string, capability: WebdriverIO.Capabilities, specs: string[]): Promise<void>;
    onWorkerEnd(): Promise<void>;
    onComplete(): Promise<void>;
    private startExecPathCapability;
    private startFromSourceCapability;
    private applyChromeDebuggerOptions;
    private platformReadyToStart;
}
