export interface ProcessResult { exitCode: number; stdout: string; stderr: string; } /** * Spawn a child process and stream its stdout line-by-line via a callback. * Used by the Haskell hie-reader which outputs NDJSON. */ export declare function spawnAndStreamLines(command: string, args: string[], onLine: (line: string) => void): Promise; /** * Run a command and capture all output. */ export declare function exec(command: string, args: string[]): Promise; //# sourceMappingURL=process.d.ts.map