import type { Config, BrowserEngine } from "../config/loader.js"; import CDP from "chrome-remote-interface"; export interface BrowserInfo { name: string; path: string; } export declare function isValidElectronExecutablePath(execPath: string): boolean; export declare function findBrowser(preferred?: string): BrowserInfo | null; export declare function findFirefox(): BrowserInfo | null; export declare function probeAllBrowsers(): BrowserInfo[]; export declare function launchWithBridge(config: Config): Promise<{ path: string; name: string; port: number; engine?: BrowserEngine; }>; export declare function injectStealthScript(session: CDP.Client): Promise; export declare function getFreePort(preferredPort?: number): Promise; export declare function testPortListening(port: number): Promise; export declare function launchElectronApp(appName: string, config: Config): Promise<{ path: string; name: string; port: number; engine: "chromium"; isElectron: true; }>;