import { RuntimeAdapter, type RuntimeOptions, 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'; /** * Docker runtime adapter * Executes shell test files inside Docker containers * Pattern: test.{variant}.docker.sh * Variants map to Dockerfiles: latest -> Dockerfile, others -> Dockerfile_{variant} */ export declare class DockerRuntimeAdapter extends RuntimeAdapter { private logger; private smartshellInstance; private timeoutSeconds; private cwd; readonly id: Runtime; readonly displayName: string; private builtImages; constructor(logger: TsTestLogger, smartshellInstance: any, // SmartShell instance from @push.rocks/smartshell timeoutSeconds: number | null, cwd: string); /** * Check if Docker CLI is available */ checkAvailable(): Promise; /** * Create command configuration for Docker test execution * This is used for informational purposes */ createCommand(testFile: string, options?: RuntimeOptions): RuntimeCommand; /** * Build a Docker image from the specified Dockerfile */ private buildDockerImage; /** * Execute a Docker test file */ run(testFile: string, index: number, total: number, options?: RuntimeOptions): Promise; /** * Clean up built Docker images (optional, can be called at end of test suite) */ cleanup(): Promise; }