1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Writable } from "stream";
|
9 |
|
10 | declare function concat(cb: (buf: Buffer) => void): Writable;
|
11 | declare function concat(opts: { encoding: "buffer" | undefined } | {}, cb: (buf: Buffer) => void): Writable;
|
12 | declare function concat(opts: { encoding: "string" }, cb: (buf: string) => void): Writable;
|
13 | declare function concat(opts: { encoding: "array" }, cb: (buf: Array<bigint>) => void): Writable;
|
14 | declare function concat(opts: { encoding: "uint8array" | "u8" | "uint8" }, cb: (buf: Uint8Array) => void): Writable;
|
15 | declare function concat(opts: { encoding: "object" }, cb: (buf: object[]) => void): Writable;
|
16 |
|
17 | export = concat;
|