method Duplex.prototype.endimport { Duplex } from "https://dotland.deno.dev/std@0.92.0/node/stream.ts"; end(cb?: () => void): voidend(chunk: any, cb?: () => void): voidend(chunk: any,encoding: Encodings,cb?: () => void,): voidParametersoptionalcb: () => voidReturnsvoidParameterschunk: anyoptionalcb: () => voidReturnsvoidParameterschunk: anyencoding: Encodingsoptionalcb: () => voidReturnsvoid