import { type MockRunBehavior, type RunHandle, type Runner, type RunSpec } from "../../../process-runner/dist/index.js"; import type { LauncherFileSystem, LogWriter, ProcessSpec, ProcessState, StateStore, Supervisor, SupervisorOptions } from "../types.js"; export type SimulationLogLine = { line: string; stream: "stdout" | "stderr"; }; export type SimulationRun = { handle: RunHandle; killSignals: Array; spec: RunSpec; }; export type SimulationEnv = { execCalls: RunSpec[]; fs: LauncherFileSystem; logDir: string; logLines: SimulationLogLine[]; logWriter: LogWriter; runner: Runner; runs: SimulationRun[]; stateDir: string; statePath: string; stateStore: StateStore; statusChanges: ProcessState[]; stderrLogPath: string; stdoutLogPath: string; supervisor: Supervisor; }; export declare function createSimulation(spec: ProcessSpec, behaviors: MockRunBehavior[], options?: Pick & Partial>): SimulationEnv;