import type { DomicileHost } from "../domicile-host"; import type { System } from "./system-calls"; export type Processes = { /** Run `argv` with its streams, as a {@link System.spawn}. */ spawn: System["spawn"]; /** Run `argv` and collect its output as text once it ends. */ run: System["run"]; /** Start `argv`, such as an application, and leave it running on its own. */ launch: (argv: readonly string[]) => void; }; export declare const processes: (host: Pick, calls: Pick) => Processes; /** The calls that wait on a process, which an app module has too. */ export declare const processCalls: (calls: Pick) => Omit;