import { ChildProcess } from 'node:child_process';
/**
 * Manages installation and startup of a matching ChromeDriver binary.
 *
 * - Resolves a ChromeDriver binary from a given prefix folder
 *   (`resolveBinFromPackage`).
 * - Installs a specific major version into a prefix using `npm install`
 *   if the binary is not already cached (`installChromedriver`).
 * - Spawns ChromeDriver as a child process with the given port, binding
 *   to localhost, writing verbose logs to a dedicated log file, and
 *   wiring up exit logging (`spawn`).
 *
 * This ensures tests always run against a ChromeDriver version that
 * matches the Electron runtime’s Chromium version, without requiring
 * global or manual installation.
 */
export declare class Chromedriver {
    private static logger;
    private static resolveBinFromPackage;
    private static installChromedriver;
    static spawn(major: string, port: number): Promise<ChildProcess>;
}
