1 declare module "process" {
2 import * as tty from "tty";
6 // this namespace merge is here because these are specifically used
7 // as the type for process.stdin, process.stdout, and process.stderr.
8 // they can't live in tty.d.ts because we need to disambiguate the imported name.
9 interface ReadStream extends tty.ReadStream {}
10 interface WriteStream extends tty.WriteStream {}