method Readable.prototype.onimport { Readable } from "https://dotland.deno.dev/std@0.177.0/node/stream.ts"; on(event: "close", listener: () => void): thison(event: "data", listener: (chunk: any) => void): thison(event: "end", listener: () => void): thison(event: "error", listener: (err: Error) => void): thison(event: "pause", listener: () => void): thison(event: "readable", listener: () => void): thison(event: "resume", listener: () => void): thison(event: string | symbol, listener: (...args: any[]) => void): thisParametersevent: "close"listener: () => voidReturnsthisParametersevent: "data"listener: (chunk: any) => voidReturnsthisParametersevent: "end"listener: () => voidReturnsthisParametersevent: "error"listener: (err: Error) => voidReturnsthisParametersevent: "pause"listener: () => voidReturnsthisParametersevent: "readable"listener: () => voidReturnsthisParametersevent: "resume"listener: () => voidReturnsthisParametersevent: string | symbollistener: (...args: any[]) => voidReturnsthis