import { RemoteSandbox } from '@struktoai/mirage-core/runtime/sandbox/base'; import type { RunResult, RuntimeOptions } from '@struktoai/mirage-core/runtime/types'; import { type DockerConfig } from './config.ts'; interface DockerResult { stdout: Uint8Array; stderr: Uint8Array; code: number; } /** * A container the user runs as a whole-line runtime. * * You start the container yourself; mirage only connects to it and * execs lines. The docker CLI is the transport (Docker Desktop, * colima, or a podman alias all work), so there is no SDK dependency * and no daemon socket wiring; each line is one `docker exec -i` with * the merged environment, the rebased cwd, real stdin, and separated * stderr. */ export declare class DockerRuntime extends RemoteSandbox { readonly name = "docker"; constructor(options?: RuntimeOptions | Record); protected docker(args: string[], stdin?: Uint8Array | null): Promise; connect(): Promise; execLine(line: string, stdin: Uint8Array | null, env: Record, cwd: string): Promise; } export {}; //# sourceMappingURL=runtime.d.ts.map