import { EnvVars } from './envVars'; import { OutStderrResponse, OutStdoutResponse } from './out'; export declare const processService = "process"; export interface Process { readonly sendStdin: (data: string) => Promise; readonly kill: () => Promise; readonly processID: string; } export interface ProcessManager { readonly start: (opts: { cmd: string; onStdout?: (o: OutStdoutResponse) => void; onStderr?: (o: OutStderrResponse) => void; onExit?: () => void; envVars?: EnvVars; rootdir?: string; processID?: string; }) => Promise; }