import { ChildProcess } from 'node:child_process';
/**
 * Utilities for working with the Electron runtime in tests.
 *
 * These helpers allow the service to resolve the correct ChromeDriver version
 * and to start either a source build or a packaged binary of IO.Connect Desktop.
 */
export declare class Electron {
    private static logger;
    static getChromiumVersion(electronVersion: string): Promise<string>;
    static getMajor(version: string): string;
    /**
     * Spawns the Electron platform from source (compiled JavaScript) and returns the ChildProcess.
     *
     * - Runs the compiled JS entry (e.g. app/main.js) with --inspect for debugging
     * - Relies on emitted source maps for TypeScript breakpoints (no ts-node preload)
     * - Mirrors VS Code’s “Run/Debug” behavior after a build has been done
     */
    static spawnFromSource(cwdPathAbsolute: string, entry: string, // e.g. './app/main.js'
    startArgs: string[], enableLogging?: boolean, inspectPort?: number | null): ChildProcess;
    /**
     * Spawn the platform from exe and return the ChildProcess
     */
    static spawnFromExe(binaryPathAbsolute: string, execArgs: string[], enableLogging?: boolean): ChildProcess;
}
