import { Readable, Writable } from "node:stream";
import { fromReadable, fromWritable } from "from-node-stream";

//#region src/lib/from-node-stream/index.d.ts
/** Make TransformStream from stdio
 *  @deprecated import {fromStdio} from 'from-node-stream'
 */
declare function fromStdio(/** a process, which has stdin, stdout, stderr */

p: {
  stdin?: Writable | null;
  stdout?: Readable | null;
  stderr?: Readable | null;
}, {
  stderr
}?: {
  stderr?: Writable | "mergeIntoStdout";
}): TransformStream<string | Uint8Array, string | Uint8Array>;
//#endregion
export { fromReadable, fromStdio, fromWritable };
//# sourceMappingURL=index.d.ts.map