@openclaw/slack 2026.10.5-beta.1 → 2026.10.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/package.json +4 -4
  2. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map +1 -1
  3. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +9 -17
  4. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map +1 -1
  5. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/package.json +4 -4
  6. package/node_modules/@slack/bolt/node_modules/@types/node/README.md +2 -2
  7. package/node_modules/@slack/bolt/node_modules/@types/node/crypto.d.ts +2 -2
  8. package/node_modules/@slack/bolt/node_modules/@types/node/dgram.d.ts +1 -1
  9. package/node_modules/@slack/bolt/node_modules/@types/node/package.json +2 -17
  10. package/node_modules/@slack/bolt/node_modules/@types/node/zlib.d.ts +6 -0
  11. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  12. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2 -2
  13. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +1 -1
  14. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  15. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +6 -0
  16. package/package.json +4 -4
  17. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/LICENSE +0 -21
  18. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/README.md +0 -15
  19. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +0 -68
  20. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +0 -1077
  21. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +0 -711
  22. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  23. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +0 -1800
  24. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +0 -1361
  25. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +0 -432
  26. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +0 -93
  27. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +0 -14
  28. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +0 -3964
  29. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +0 -652
  30. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  31. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +0 -497
  32. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +0 -876
  33. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +0 -150
  34. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +0 -1008
  35. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ffi.d.ts +0 -500
  36. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +0 -1477
  37. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +0 -4803
  38. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -150
  39. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  40. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +0 -2218
  41. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +0 -2498
  42. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +0 -400
  43. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +0 -116
  44. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector/promises.d.ts +0 -35
  45. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +0 -265
  46. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  47. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -726
  48. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +0 -1074
  49. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +0 -498
  50. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/package.json +0 -155
  51. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/posix.d.ts +0 -8
  52. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/win32.d.ts +0 -8
  53. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +0 -178
  54. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +0 -617
  55. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +0 -2269
  56. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +0 -89
  57. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +0 -139
  58. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/quic.d.ts +0 -2191
  59. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -158
  60. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +0 -508
  61. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +0 -420
  62. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +0 -47
  63. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1140
  64. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +0 -114
  65. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/iter.d.ts +0 -449
  66. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +0 -211
  67. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +0 -320
  68. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +0 -1806
  69. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +0 -27
  70. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test/reporters.d.ts +0 -60
  71. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +0 -2558
  72. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +0 -93
  73. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -149
  74. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +0 -1232
  75. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +0 -103
  76. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -467
  77. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  78. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  79. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +0 -118
  80. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  81. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +0 -118
  82. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +0 -226
  83. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +0 -556
  84. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util/types.d.ts +0 -558
  85. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +0 -1677
  86. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +0 -1059
  87. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vfs.d.ts +0 -211
  88. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +0 -1137
  89. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +0 -131
  90. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  91. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  92. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/console.d.ts +0 -9
  93. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  94. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  95. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  96. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/events.d.ts +0 -106
  97. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  98. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  99. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  100. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  101. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  102. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  103. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/streams.d.ts +0 -119
  104. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  105. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/url.d.ts +0 -24
  106. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +0 -672
  107. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib/iter.d.ts +0 -131
  108. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +0 -606
@@ -1,606 +0,0 @@
1
- declare module "node:zlib" {
2
- import { NonSharedBuffer } from "node:buffer";
3
- import * as stream from "node:stream";
4
- interface ZlibOptions {
5
- /**
6
- * @default constants.Z_NO_FLUSH
7
- */
8
- flush?: number | undefined;
9
- /**
10
- * @default constants.Z_FINISH
11
- */
12
- finishFlush?: number | undefined;
13
- /**
14
- * @default 16*1024
15
- */
16
- chunkSize?: number | undefined;
17
- windowBits?: number | undefined;
18
- /** compression only */
19
- level?: number | undefined;
20
- /** compression only */
21
- memLevel?: number | undefined;
22
- /** compression only */
23
- strategy?: number | undefined;
24
- /** deflate/inflate only, empty dictionary by default */
25
- dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined;
26
- /**
27
- * If `true`, returns an object with `buffer` and `engine`.
28
- */
29
- info?: boolean | undefined;
30
- /**
31
- * Limits output size when using convenience methods.
32
- * @default buffer.kMaxLength
33
- */
34
- maxOutputLength?: number | undefined;
35
- /**
36
- * If `true`, decompression fails when
37
- * trailing input is detected after the end of the compressed stream. This
38
- * includes unreadable bytes and, when decompressing gzip, additional gzip
39
- * members following the first member. **Default:** `false`
40
- */
41
- rejectGarbageAfterEnd?: boolean | undefined;
42
- }
43
- interface BrotliOptions {
44
- /**
45
- * @default constants.BROTLI_OPERATION_PROCESS
46
- */
47
- flush?: number | undefined;
48
- /**
49
- * @default constants.BROTLI_OPERATION_FINISH
50
- */
51
- finishFlush?: number | undefined;
52
- /**
53
- * @default 16*1024
54
- */
55
- chunkSize?: number | undefined;
56
- params?:
57
- | {
58
- /**
59
- * Each key is a `constants.BROTLI_*` constant.
60
- */
61
- [key: number]: boolean | number;
62
- }
63
- | undefined;
64
- /**
65
- * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v26.x/api/zlib.html#convenience-methods).
66
- * @default buffer.kMaxLength
67
- */
68
- maxOutputLength?: number | undefined;
69
- /**
70
- * If `true`, returns an object with `buffer` and `engine`.
71
- */
72
- info?: boolean | undefined;
73
- /**
74
- * If `true`, decompression fails when
75
- * input remains after the first complete compressed stream. **Default:** `false`
76
- */
77
- rejectGarbageAfterEnd?: boolean | undefined;
78
- }
79
- interface ZstdOptions {
80
- /**
81
- * @default constants.ZSTD_e_continue
82
- */
83
- flush?: number | undefined;
84
- /**
85
- * @default constants.ZSTD_e_end
86
- */
87
- finishFlush?: number | undefined;
88
- /**
89
- * @default 16 * 1024
90
- */
91
- chunkSize?: number | undefined;
92
- /**
93
- * Key-value object containing indexed
94
- * [Zstd parameters](https://nodejs.org/docs/latest-v26.x/api/zlib.html#zstd-constants).
95
- */
96
- params?: { [key: number]: number | boolean } | undefined;
97
- /**
98
- * Limits output size when using
99
- * [convenience methods](https://nodejs.org/docs/latest-v26.x/api/zlib.html#convenience-methods).
100
- * @default buffer.kMaxLength
101
- */
102
- maxOutputLength?: number | undefined;
103
- /**
104
- * If `true`, returns an object with `buffer` and `engine`.
105
- */
106
- info?: boolean | undefined;
107
- /**
108
- * Optional dictionary used to improve compression efficiency when compressing or decompressing data that
109
- * shares common patterns with the dictionary.
110
- * @since v24.6.0
111
- */
112
- dictionary?: NodeJS.ArrayBufferView | undefined;
113
- /**
114
- * If `true`, decompression fails when
115
- * input remains after the first complete compressed stream. **Default:** `false`
116
- */
117
- rejectGarbageAfterEnd?: boolean | undefined;
118
- }
119
- interface Zlib {
120
- readonly bytesWritten: number;
121
- shell?: boolean | string | undefined;
122
- close(callback?: () => void): void;
123
- flush(kind?: number, callback?: () => void): void;
124
- flush(callback?: () => void): void;
125
- }
126
- interface ZlibParams {
127
- params(level: number, strategy: number, callback: () => void): void;
128
- }
129
- interface ZlibReset {
130
- reset(): void;
131
- }
132
- /**
133
- * @since v10.16.0
134
- */
135
- class BrotliCompress extends stream.Transform {
136
- constructor(options?: BrotliOptions);
137
- }
138
- interface BrotliCompress extends stream.Transform, Zlib {}
139
- /**
140
- * @since v10.16.0
141
- */
142
- class BrotliDecompress extends stream.Transform {
143
- constructor(options?: BrotliOptions);
144
- }
145
- interface BrotliDecompress extends stream.Transform, Zlib {}
146
- /**
147
- * @since v0.5.8
148
- */
149
- class Gzip extends stream.Transform {
150
- constructor(options?: ZlibOptions);
151
- }
152
- interface Gzip extends stream.Transform, Zlib {}
153
- /**
154
- * @since v0.5.8
155
- */
156
- class Gunzip extends stream.Transform {
157
- constructor(options?: ZlibOptions);
158
- }
159
- interface Gunzip extends stream.Transform, Zlib {}
160
- /**
161
- * @since v0.5.8
162
- */
163
- class Deflate extends stream.Transform {
164
- constructor(options?: ZlibOptions);
165
- }
166
- interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
167
- /**
168
- * @since v0.5.8
169
- */
170
- class Inflate extends stream.Transform {
171
- constructor(options?: ZlibOptions);
172
- }
173
- interface Inflate extends stream.Transform, Zlib, ZlibReset {}
174
- /**
175
- * @since v0.5.8
176
- */
177
- class DeflateRaw extends stream.Transform {
178
- constructor(options?: ZlibOptions);
179
- }
180
- interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
181
- /**
182
- * @since v0.5.8
183
- */
184
- class InflateRaw extends stream.Transform {
185
- constructor(options?: ZlibOptions);
186
- }
187
- interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
188
- /**
189
- * @since v0.5.8
190
- */
191
- class Unzip extends stream.Transform {
192
- constructor(options?: ZlibOptions);
193
- }
194
- interface Unzip extends stream.Transform, Zlib {}
195
- /**
196
- * @since v22.15.0
197
- * @experimental
198
- */
199
- class ZstdCompress extends stream.Transform {
200
- constructor(options?: ZstdOptions);
201
- }
202
- interface ZstdCompress extends stream.Transform, Zlib {}
203
- /**
204
- * @since v22.15.0
205
- * @experimental
206
- */
207
- class ZstdDecompress extends stream.Transform {
208
- constructor(options?: ZstdOptions);
209
- }
210
- interface ZstdDecompress extends stream.Transform, Zlib {}
211
- /**
212
- * Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
213
- * If `value` is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
214
- * @param data When `data` is a string, it will be encoded as UTF-8 before being used for computation.
215
- * @param value An optional starting value. It must be a 32-bit unsigned integer. @default 0
216
- * @returns A 32-bit unsigned integer containing the checksum.
217
- * @since v22.2.0
218
- */
219
- function crc32(data: string | NodeJS.ArrayBufferView, value?: number): number;
220
- /**
221
- * Creates and returns a new `BrotliCompress` object.
222
- * @since v11.7.0, v10.16.0
223
- */
224
- function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
225
- /**
226
- * Creates and returns a new `BrotliDecompress` object.
227
- * @since v11.7.0, v10.16.0
228
- */
229
- function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
230
- /**
231
- * Creates and returns a new `Gzip` object.
232
- * See `example`.
233
- * @since v0.5.8
234
- */
235
- function createGzip(options?: ZlibOptions): Gzip;
236
- /**
237
- * Creates and returns a new `Gunzip` object.
238
- * @since v0.5.8
239
- */
240
- function createGunzip(options?: ZlibOptions): Gunzip;
241
- /**
242
- * Creates and returns a new `Deflate` object.
243
- * @since v0.5.8
244
- */
245
- function createDeflate(options?: ZlibOptions): Deflate;
246
- /**
247
- * Creates and returns a new `Inflate` object.
248
- * @since v0.5.8
249
- */
250
- function createInflate(options?: ZlibOptions): Inflate;
251
- /**
252
- * Creates and returns a new `DeflateRaw` object.
253
- *
254
- * An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when `windowBits` is set to 8 for raw deflate streams. zlib would automatically set `windowBits` to 9 if was initially set to 8. Newer
255
- * versions of zlib will throw an exception,
256
- * so Node.js restored the original behavior of upgrading a value of 8 to 9,
257
- * since passing `windowBits = 9` to zlib actually results in a compressed stream
258
- * that effectively uses an 8-bit window only.
259
- * @since v0.5.8
260
- */
261
- function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
262
- /**
263
- * Creates and returns a new `InflateRaw` object.
264
- * @since v0.5.8
265
- */
266
- function createInflateRaw(options?: ZlibOptions): InflateRaw;
267
- /**
268
- * Creates and returns a new `Unzip` object.
269
- * @since v0.5.8
270
- */
271
- function createUnzip(options?: ZlibOptions): Unzip;
272
- /**
273
- * Creates and returns a new `ZstdCompress` object.
274
- * @since v22.15.0
275
- */
276
- function createZstdCompress(options?: ZstdOptions): ZstdCompress;
277
- /**
278
- * Creates and returns a new `ZstdDecompress` object.
279
- * @since v22.15.0
280
- */
281
- function createZstdDecompress(options?: ZstdOptions): ZstdDecompress;
282
- type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
283
- type CompressCallback = (error: Error | null, result: NonSharedBuffer) => void;
284
- /**
285
- * @since v11.7.0, v10.16.0
286
- */
287
- function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
288
- function brotliCompress(buf: InputType, callback: CompressCallback): void;
289
- namespace brotliCompress {
290
- function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<NonSharedBuffer>;
291
- }
292
- /**
293
- * Compress a chunk of data with `BrotliCompress`.
294
- * @since v11.7.0, v10.16.0
295
- */
296
- function brotliCompressSync(buf: InputType, options?: BrotliOptions): NonSharedBuffer;
297
- /**
298
- * @since v11.7.0, v10.16.0
299
- */
300
- function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
301
- function brotliDecompress(buf: InputType, callback: CompressCallback): void;
302
- namespace brotliDecompress {
303
- function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<NonSharedBuffer>;
304
- }
305
- /**
306
- * Decompress a chunk of data with `BrotliDecompress`.
307
- * @since v11.7.0, v10.16.0
308
- */
309
- function brotliDecompressSync(buf: InputType, options?: BrotliOptions): NonSharedBuffer;
310
- /**
311
- * @since v0.6.0
312
- */
313
- function deflate(buf: InputType, callback: CompressCallback): void;
314
- function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
315
- namespace deflate {
316
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
317
- }
318
- /**
319
- * Compress a chunk of data with `Deflate`.
320
- * @since v0.11.12
321
- */
322
- function deflateSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
323
- /**
324
- * @since v0.6.0
325
- */
326
- function deflateRaw(buf: InputType, callback: CompressCallback): void;
327
- function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
328
- namespace deflateRaw {
329
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
330
- }
331
- /**
332
- * Compress a chunk of data with `DeflateRaw`.
333
- * @since v0.11.12
334
- */
335
- function deflateRawSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
336
- /**
337
- * @since v0.6.0
338
- */
339
- function gzip(buf: InputType, callback: CompressCallback): void;
340
- function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
341
- namespace gzip {
342
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
343
- }
344
- /**
345
- * Compress a chunk of data with `Gzip`.
346
- * @since v0.11.12
347
- */
348
- function gzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
349
- /**
350
- * @since v0.6.0
351
- */
352
- function gunzip(buf: InputType, callback: CompressCallback): void;
353
- function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
354
- namespace gunzip {
355
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
356
- }
357
- /**
358
- * Decompress a chunk of data with `Gunzip`.
359
- * @since v0.11.12
360
- */
361
- function gunzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
362
- /**
363
- * @since v0.6.0
364
- */
365
- function inflate(buf: InputType, callback: CompressCallback): void;
366
- function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
367
- namespace inflate {
368
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
369
- }
370
- /**
371
- * Decompress a chunk of data with `Inflate`.
372
- * @since v0.11.12
373
- */
374
- function inflateSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
375
- /**
376
- * @since v0.6.0
377
- */
378
- function inflateRaw(buf: InputType, callback: CompressCallback): void;
379
- function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
380
- namespace inflateRaw {
381
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
382
- }
383
- /**
384
- * Decompress a chunk of data with `InflateRaw`.
385
- * @since v0.11.12
386
- */
387
- function inflateRawSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
388
- /**
389
- * @since v0.6.0
390
- */
391
- function unzip(buf: InputType, callback: CompressCallback): void;
392
- function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
393
- namespace unzip {
394
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
395
- }
396
- /**
397
- * Decompress a chunk of data with `Unzip`.
398
- * @since v0.11.12
399
- */
400
- function unzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
401
- /**
402
- * @since v22.15.0
403
- * @experimental
404
- */
405
- function zstdCompress(buf: InputType, callback: CompressCallback): void;
406
- function zstdCompress(buf: InputType, options: ZstdOptions, callback: CompressCallback): void;
407
- namespace zstdCompress {
408
- function __promisify__(buffer: InputType, options?: ZstdOptions): Promise<NonSharedBuffer>;
409
- }
410
- /**
411
- * Compress a chunk of data with `ZstdCompress`.
412
- * @since v22.15.0
413
- * @experimental
414
- */
415
- function zstdCompressSync(buf: InputType, options?: ZstdOptions): NonSharedBuffer;
416
- /**
417
- * @since v22.15.0
418
- * @experimental
419
- */
420
- function zstdDecompress(buf: InputType, callback: CompressCallback): void;
421
- function zstdDecompress(buf: InputType, options: ZstdOptions, callback: CompressCallback): void;
422
- namespace zstdDecompress {
423
- function __promisify__(buffer: InputType, options?: ZstdOptions): Promise<NonSharedBuffer>;
424
- }
425
- /**
426
- * Decompress a chunk of data with `ZstdDecompress`.
427
- * @since v22.15.0
428
- * @experimental
429
- */
430
- function zstdDecompressSync(buf: InputType, options?: ZstdOptions): NonSharedBuffer;
431
- namespace constants {
432
- const BROTLI_DECODE: number;
433
- const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
434
- const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number;
435
- const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number;
436
- const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number;
437
- const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number;
438
- const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number;
439
- const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number;
440
- const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number;
441
- const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number;
442
- const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number;
443
- const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number;
444
- const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number;
445
- const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number;
446
- const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number;
447
- const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number;
448
- const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number;
449
- const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number;
450
- const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number;
451
- const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number;
452
- const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number;
453
- const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number;
454
- const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number;
455
- const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number;
456
- const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number;
457
- const BROTLI_DECODER_ERROR_UNREACHABLE: number;
458
- const BROTLI_DECODER_NEEDS_MORE_INPUT: number;
459
- const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number;
460
- const BROTLI_DECODER_NO_ERROR: number;
461
- const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number;
462
- const BROTLI_DECODER_PARAM_LARGE_WINDOW: number;
463
- const BROTLI_DECODER_RESULT_ERROR: number;
464
- const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number;
465
- const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
466
- const BROTLI_DECODER_RESULT_SUCCESS: number;
467
- const BROTLI_DECODER_SUCCESS: number;
468
- const BROTLI_DEFAULT_MODE: number;
469
- const BROTLI_DEFAULT_QUALITY: number;
470
- const BROTLI_DEFAULT_WINDOW: number;
471
- const BROTLI_ENCODE: number;
472
- const BROTLI_LARGE_MAX_WINDOW_BITS: number;
473
- const BROTLI_MAX_INPUT_BLOCK_BITS: number;
474
- const BROTLI_MAX_QUALITY: number;
475
- const BROTLI_MAX_WINDOW_BITS: number;
476
- const BROTLI_MIN_INPUT_BLOCK_BITS: number;
477
- const BROTLI_MIN_QUALITY: number;
478
- const BROTLI_MIN_WINDOW_BITS: number;
479
- const BROTLI_MODE_FONT: number;
480
- const BROTLI_MODE_GENERIC: number;
481
- const BROTLI_MODE_TEXT: number;
482
- const BROTLI_OPERATION_EMIT_METADATA: number;
483
- const BROTLI_OPERATION_FINISH: number;
484
- const BROTLI_OPERATION_FLUSH: number;
485
- const BROTLI_OPERATION_PROCESS: number;
486
- const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
487
- const BROTLI_PARAM_LARGE_WINDOW: number;
488
- const BROTLI_PARAM_LGBLOCK: number;
489
- const BROTLI_PARAM_LGWIN: number;
490
- const BROTLI_PARAM_MODE: number;
491
- const BROTLI_PARAM_NDIRECT: number;
492
- const BROTLI_PARAM_NPOSTFIX: number;
493
- const BROTLI_PARAM_QUALITY: number;
494
- const BROTLI_PARAM_SIZE_HINT: number;
495
- const DEFLATE: number;
496
- const DEFLATERAW: number;
497
- const GUNZIP: number;
498
- const GZIP: number;
499
- const INFLATE: number;
500
- const INFLATERAW: number;
501
- const UNZIP: number;
502
- const ZLIB_VERNUM: number;
503
- const ZSTD_CLEVEL_DEFAULT: number;
504
- const ZSTD_COMPRESS: number;
505
- const ZSTD_DECOMPRESS: number;
506
- const ZSTD_btlazy2: number;
507
- const ZSTD_btopt: number;
508
- const ZSTD_btultra: number;
509
- const ZSTD_btultra2: number;
510
- const ZSTD_c_chainLog: number;
511
- const ZSTD_c_checksumFlag: number;
512
- const ZSTD_c_compressionLevel: number;
513
- const ZSTD_c_contentSizeFlag: number;
514
- const ZSTD_c_dictIDFlag: number;
515
- const ZSTD_c_enableLongDistanceMatching: number;
516
- const ZSTD_c_hashLog: number;
517
- const ZSTD_c_jobSize: number;
518
- const ZSTD_c_ldmBucketSizeLog: number;
519
- const ZSTD_c_ldmHashLog: number;
520
- const ZSTD_c_ldmHashRateLog: number;
521
- const ZSTD_c_ldmMinMatch: number;
522
- const ZSTD_c_minMatch: number;
523
- const ZSTD_c_nbWorkers: number;
524
- const ZSTD_c_overlapLog: number;
525
- const ZSTD_c_searchLog: number;
526
- const ZSTD_c_strategy: number;
527
- const ZSTD_c_targetLength: number;
528
- const ZSTD_c_windowLog: number;
529
- const ZSTD_d_windowLogMax: number;
530
- const ZSTD_dfast: number;
531
- const ZSTD_e_continue: number;
532
- const ZSTD_e_end: number;
533
- const ZSTD_e_flush: number;
534
- const ZSTD_error_GENERIC: number;
535
- const ZSTD_error_checksum_wrong: number;
536
- const ZSTD_error_corruption_detected: number;
537
- const ZSTD_error_dictionaryCreation_failed: number;
538
- const ZSTD_error_dictionary_corrupted: number;
539
- const ZSTD_error_dictionary_wrong: number;
540
- const ZSTD_error_dstBuffer_null: number;
541
- const ZSTD_error_dstSize_tooSmall: number;
542
- const ZSTD_error_frameParameter_unsupported: number;
543
- const ZSTD_error_frameParameter_windowTooLarge: number;
544
- const ZSTD_error_init_missing: number;
545
- const ZSTD_error_literals_headerWrong: number;
546
- const ZSTD_error_maxSymbolValue_tooLarge: number;
547
- const ZSTD_error_maxSymbolValue_tooSmall: number;
548
- const ZSTD_error_memory_allocation: number;
549
- const ZSTD_error_noForwardProgress_destFull: number;
550
- const ZSTD_error_noForwardProgress_inputEmpty: number;
551
- const ZSTD_error_no_error: number;
552
- const ZSTD_error_parameter_combination_unsupported: number;
553
- const ZSTD_error_parameter_outOfBound: number;
554
- const ZSTD_error_parameter_unsupported: number;
555
- const ZSTD_error_prefix_unknown: number;
556
- const ZSTD_error_srcSize_wrong: number;
557
- const ZSTD_error_stabilityCondition_notRespected: number;
558
- const ZSTD_error_stage_wrong: number;
559
- const ZSTD_error_tableLog_tooLarge: number;
560
- const ZSTD_error_version_unsupported: number;
561
- const ZSTD_error_workSpace_tooSmall: number;
562
- const ZSTD_fast: number;
563
- const ZSTD_greedy: number;
564
- const ZSTD_lazy: number;
565
- const ZSTD_lazy2: number;
566
- const Z_BEST_COMPRESSION: number;
567
- const Z_BEST_SPEED: number;
568
- const Z_BLOCK: number;
569
- const Z_BUF_ERROR: number;
570
- const Z_DATA_ERROR: number;
571
- const Z_DEFAULT_CHUNK: number;
572
- const Z_DEFAULT_COMPRESSION: number;
573
- const Z_DEFAULT_LEVEL: number;
574
- const Z_DEFAULT_MEMLEVEL: number;
575
- const Z_DEFAULT_STRATEGY: number;
576
- const Z_DEFAULT_WINDOWBITS: number;
577
- const Z_ERRNO: number;
578
- const Z_FILTERED: number;
579
- const Z_FINISH: number;
580
- const Z_FIXED: number;
581
- const Z_FULL_FLUSH: number;
582
- const Z_HUFFMAN_ONLY: number;
583
- const Z_MAX_CHUNK: number;
584
- const Z_MAX_LEVEL: number;
585
- const Z_MAX_MEMLEVEL: number;
586
- const Z_MAX_WINDOWBITS: number;
587
- const Z_MEM_ERROR: number;
588
- const Z_MIN_CHUNK: number;
589
- const Z_MIN_LEVEL: number;
590
- const Z_MIN_MEMLEVEL: number;
591
- const Z_MIN_WINDOWBITS: number;
592
- const Z_NEED_DICT: number;
593
- const Z_NO_COMPRESSION: number;
594
- const Z_NO_FLUSH: number;
595
- const Z_OK: number;
596
- const Z_PARTIAL_FLUSH: number;
597
- const Z_RLE: number;
598
- const Z_STREAM_END: number;
599
- const Z_STREAM_ERROR: number;
600
- const Z_SYNC_FLUSH: number;
601
- const Z_VERSION_ERROR: number;
602
- }
603
- }
604
- declare module "zlib" {
605
- export * from "node:zlib";
606
- }