import { RuntimeAdapter, type ChromiumOptions, type RuntimeCommand, type RuntimeAvailability } from './tstest.classes.runtime.adapter.js'; import { TapParser } from './tstest.classes.tap.parser.js'; import { TsTestLogger } from './tstest.logging.js'; import type { Runtime } from './tstest.classes.runtime.parser.js'; /** * Chromium runtime adapter * Executes tests in a headless Chromium browser */ export declare class ChromiumRuntimeAdapter extends RuntimeAdapter { private logger; private tsbundleInstance; private smartbrowserInstance; private timeoutSeconds; readonly id: Runtime; readonly displayName: string; constructor(logger: TsTestLogger, tsbundleInstance: any, // TsBundle instance from @push.rocks/tsbundle smartbrowserInstance: any, // SmartBrowser instance from @push.rocks/smartbrowser timeoutSeconds: number | null); /** * Check if Chromium is available */ checkAvailable(): Promise; /** * Create command configuration for Chromium test execution * Note: Chromium tests don't use a traditional command, but this satisfies the interface */ createCommand(testFile: string, options?: ChromiumOptions): RuntimeCommand; /** * Find free ports for HTTP server and WebSocket */ private findFreePorts; /** * Execute a test file in Chromium browser */ run(testFile: string, index: number, total: number, options?: ChromiumOptions): Promise; }