import type { SandboxProcess } from "#shared/sandbox-session.js"; type OutputName = "stderr" | "stdout"; interface MultiplexedCommand { kill(): PromiseLike; logs(): AsyncIterable; wait(): PromiseLike<{ readonly exitCode: number; }>; } /** * Adapts a detached command with one tagged log iterator to a sandbox process * with independent stdout and stderr streams. */ export declare function adaptMultiplexedCommandToSandboxProcess(input: { readonly command: MultiplexedCommand; readonly getOutput: (log: Log) => OutputName; }): SandboxProcess; export {};