@types/node 18.19.22 → 18.19.23

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 (56) hide show
  1. node v18.19/README.md +1 -1
  2. node v18.19/package.json +3 -10
  3. node v18.19/ts4.8/assert/strict.d.ts +0 -8
  4. node v18.19/ts4.8/assert.d.ts +0 -985
  5. node v18.19/ts4.8/async_hooks.d.ts +0 -522
  6. node v18.19/ts4.8/buffer.d.ts +0 -2353
  7. node v18.19/ts4.8/child_process.d.ts +0 -1544
  8. node v18.19/ts4.8/cluster.d.ts +0 -432
  9. node v18.19/ts4.8/console.d.ts +0 -412
  10. node v18.19/ts4.8/constants.d.ts +0 -19
  11. node v18.19/ts4.8/crypto.d.ts +0 -4457
  12. node v18.19/ts4.8/dgram.d.ts +0 -596
  13. node v18.19/ts4.8/diagnostics_channel.d.ts +0 -546
  14. node v18.19/ts4.8/dns/promises.d.ts +0 -381
  15. node v18.19/ts4.8/dns.d.ts +0 -809
  16. node v18.19/ts4.8/dom-events.d.ts +0 -122
  17. node v18.19/ts4.8/domain.d.ts +0 -170
  18. node v18.19/ts4.8/events.d.ts +0 -819
  19. node v18.19/ts4.8/fs/promises.d.ts +0 -1205
  20. node v18.19/ts4.8/fs.d.ts +0 -4231
  21. node v18.19/ts4.8/globals.d.ts +0 -377
  22. node v18.19/ts4.8/globals.global.d.ts +0 -1
  23. node v18.19/ts4.8/http.d.ts +0 -1803
  24. node v18.19/ts4.8/http2.d.ts +0 -2386
  25. node v18.19/ts4.8/https.d.ts +0 -544
  26. node v18.19/ts4.8/index.d.ts +0 -88
  27. node v18.19/ts4.8/inspector.d.ts +0 -2739
  28. node v18.19/ts4.8/module.d.ts +0 -298
  29. node v18.19/ts4.8/net.d.ts +0 -918
  30. node v18.19/ts4.8/os.d.ts +0 -473
  31. node v18.19/ts4.8/path.d.ts +0 -191
  32. node v18.19/ts4.8/perf_hooks.d.ts +0 -626
  33. node v18.19/ts4.8/process.d.ts +0 -1548
  34. node v18.19/ts4.8/punycode.d.ts +0 -117
  35. node v18.19/ts4.8/querystring.d.ts +0 -141
  36. node v18.19/ts4.8/readline/promises.d.ts +0 -143
  37. node v18.19/ts4.8/readline.d.ts +0 -666
  38. node v18.19/ts4.8/repl.d.ts +0 -430
  39. node v18.19/ts4.8/stream/consumers.d.ts +0 -12
  40. node v18.19/ts4.8/stream/promises.d.ts +0 -83
  41. node v18.19/ts4.8/stream/web.d.ts +0 -352
  42. node v18.19/ts4.8/stream.d.ts +0 -1731
  43. node v18.19/ts4.8/string_decoder.d.ts +0 -67
  44. node v18.19/ts4.8/test.d.ts +0 -1113
  45. node v18.19/ts4.8/timers/promises.d.ts +0 -93
  46. node v18.19/ts4.8/timers.d.ts +0 -126
  47. node v18.19/ts4.8/tls.d.ts +0 -1203
  48. node v18.19/ts4.8/trace_events.d.ts +0 -171
  49. node v18.19/ts4.8/tty.d.ts +0 -206
  50. node v18.19/ts4.8/url.d.ts +0 -954
  51. node v18.19/ts4.8/util.d.ts +0 -2075
  52. node v18.19/ts4.8/v8.d.ts +0 -753
  53. node v18.19/ts4.8/vm.d.ts +0 -667
  54. node v18.19/ts4.8/wasi.d.ts +0 -158
  55. node v18.19/ts4.8/worker_threads.d.ts +0 -692
  56. node v18.19/ts4.8/zlib.d.ts +0 -517
@@ -1,546 +0,0 @@
1
- /**
2
- * The `diagnostics_channel` module provides an API to create named channels
3
- * to report arbitrary message data for diagnostics purposes.
4
- *
5
- * It can be accessed using:
6
- *
7
- * ```js
8
- * import diagnostics_channel from 'diagnostics_channel';
9
- * ```
10
- *
11
- * It is intended that a module writer wanting to report diagnostics messages
12
- * will create one or many top-level channels to report messages through.
13
- * Channels may also be acquired at runtime but it is not encouraged
14
- * due to the additional overhead of doing so. Channels may be exported for
15
- * convenience, but as long as the name is known it can be acquired anywhere.
16
- *
17
- * If you intend for your module to produce diagnostics data for others to
18
- * consume it is recommended that you include documentation of what named
19
- * channels are used along with the shape of the message data. Channel names
20
- * should generally include the module name to avoid collisions with data from
21
- * other modules.
22
- * @experimental
23
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/diagnostics_channel.js)
24
- */
25
- declare module "diagnostics_channel" {
26
- import { AsyncLocalStorage } from "node:async_hooks";
27
- /**
28
- * Check if there are active subscribers to the named channel. This is helpful if
29
- * the message you want to send might be expensive to prepare.
30
- *
31
- * This API is optional but helpful when trying to publish messages from very
32
- * performance-sensitive code.
33
- *
34
- * ```js
35
- * import diagnostics_channel from 'diagnostics_channel';
36
- *
37
- * if (diagnostics_channel.hasSubscribers('my-channel')) {
38
- * // There are subscribers, prepare and publish message
39
- * }
40
- * ```
41
- * @since v15.1.0, v14.17.0
42
- * @param name The channel name
43
- * @return If there are active subscribers
44
- */
45
- function hasSubscribers(name: string | symbol): boolean;
46
- /**
47
- * This is the primary entry-point for anyone wanting to interact with a named
48
- * channel. It produces a channel object which is optimized to reduce overhead at
49
- * publish time as much as possible.
50
- *
51
- * ```js
52
- * import diagnostics_channel from 'diagnostics_channel';
53
- *
54
- * const channel = diagnostics_channel.channel('my-channel');
55
- * ```
56
- * @since v15.1.0, v14.17.0
57
- * @param name The channel name
58
- * @return The named channel object
59
- */
60
- function channel(name: string | symbol): Channel;
61
- type ChannelListener = (message: unknown, name: string | symbol) => void;
62
- /**
63
- * Register a message handler to subscribe to this channel. This message handler will be run synchronously
64
- * whenever a message is published to the channel. Any errors thrown in the message handler will
65
- * trigger an 'uncaughtException'.
66
- *
67
- * ```js
68
- * import diagnostics_channel from 'diagnostics_channel';
69
- *
70
- * diagnostics_channel.subscribe('my-channel', (message, name) => {
71
- * // Received data
72
- * });
73
- * ```
74
- *
75
- * @since v18.7.0, v16.17.0
76
- * @param name The channel name
77
- * @param onMessage The handler to receive channel messages
78
- */
79
- function subscribe(name: string | symbol, onMessage: ChannelListener): void;
80
- /**
81
- * Remove a message handler previously registered to this channel with diagnostics_channel.subscribe(name, onMessage).
82
- *
83
- * ```js
84
- * import diagnostics_channel from 'diagnostics_channel';
85
- *
86
- * function onMessage(message, name) {
87
- * // Received data
88
- * }
89
- *
90
- * diagnostics_channel.subscribe('my-channel', onMessage);
91
- *
92
- * diagnostics_channel.unsubscribe('my-channel', onMessage);
93
- * ```
94
- *
95
- * @since v18.7.0, v16.17.0
96
- * @param name The channel name
97
- * @param onMessage The previous subscribed handler to remove
98
- * @returns `true` if the handler was found, `false` otherwise
99
- */
100
- function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean;
101
- /**
102
- * Creates a `TracingChannel` wrapper for the given `TracingChannel Channels`. If a name is given, the corresponding tracing
103
- * channels will be created in the form of `tracing:${name}:${eventType}` where`eventType` corresponds to the types of `TracingChannel Channels`.
104
- *
105
- * ```js
106
- * import diagnostics_channel from 'node:diagnostics_channel';
107
- *
108
- * const channelsByName = diagnostics_channel.tracingChannel('my-channel');
109
- *
110
- * // or...
111
- *
112
- * const channelsByCollection = diagnostics_channel.tracingChannel({
113
- * start: diagnostics_channel.channel('tracing:my-channel:start'),
114
- * end: diagnostics_channel.channel('tracing:my-channel:end'),
115
- * asyncStart: diagnostics_channel.channel('tracing:my-channel:asyncStart'),
116
- * asyncEnd: diagnostics_channel.channel('tracing:my-channel:asyncEnd'),
117
- * error: diagnostics_channel.channel('tracing:my-channel:error'),
118
- * });
119
- * ```
120
- * @since v19.9.0
121
- * @experimental
122
- * @param nameOrChannels Channel name or object containing all the `TracingChannel Channels`
123
- * @return Collection of channels to trace with
124
- */
125
- function tracingChannel<
126
- StoreType = unknown,
127
- ContextType extends object = StoreType extends object ? StoreType : object,
128
- >(
129
- nameOrChannels: string | TracingChannelCollection<StoreType, ContextType>,
130
- ): TracingChannel<StoreType, ContextType>;
131
- /**
132
- * The class `Channel` represents an individual named channel within the data
133
- * pipeline. It is use to track subscribers and to publish messages when there
134
- * are subscribers present. It exists as a separate object to avoid channel
135
- * lookups at publish time, enabling very fast publish speeds and allowing
136
- * for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly
137
- * with `new Channel(name)` is not supported.
138
- * @since v15.1.0, v14.17.0
139
- */
140
- class Channel<StoreType = unknown, ContextType = StoreType> {
141
- readonly name: string | symbol;
142
- /**
143
- * Check if there are active subscribers to this channel. This is helpful if
144
- * the message you want to send might be expensive to prepare.
145
- *
146
- * This API is optional but helpful when trying to publish messages from very
147
- * performance-sensitive code.
148
- *
149
- * ```js
150
- * import diagnostics_channel from 'diagnostics_channel';
151
- *
152
- * const channel = diagnostics_channel.channel('my-channel');
153
- *
154
- * if (channel.hasSubscribers) {
155
- * // There are subscribers, prepare and publish message
156
- * }
157
- * ```
158
- * @since v15.1.0, v14.17.0
159
- */
160
- readonly hasSubscribers: boolean;
161
- private constructor(name: string | symbol);
162
- /**
163
- * Publish a message to any subscribers to the channel. This will
164
- * trigger message handlers synchronously so they will execute within
165
- * the same context.
166
- *
167
- * ```js
168
- * import diagnostics_channel from 'diagnostics_channel';
169
- *
170
- * const channel = diagnostics_channel.channel('my-channel');
171
- *
172
- * channel.publish({
173
- * some: 'message'
174
- * });
175
- * ```
176
- * @since v15.1.0, v14.17.0
177
- * @param message The message to send to the channel subscribers
178
- */
179
- publish(message: unknown): void;
180
- /**
181
- * Register a message handler to subscribe to this channel. This message handler
182
- * will be run synchronously whenever a message is published to the channel. Any
183
- * errors thrown in the message handler will trigger an `'uncaughtException'`.
184
- *
185
- * ```js
186
- * import diagnostics_channel from 'diagnostics_channel';
187
- *
188
- * const channel = diagnostics_channel.channel('my-channel');
189
- *
190
- * channel.subscribe((message, name) => {
191
- * // Received data
192
- * });
193
- * ```
194
- * @since v15.1.0, v14.17.0
195
- * @param onMessage The handler to receive channel messages
196
- */
197
- subscribe(onMessage: ChannelListener): void;
198
- /**
199
- * Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`.
200
- *
201
- * ```js
202
- * import diagnostics_channel from 'diagnostics_channel';
203
- *
204
- * const channel = diagnostics_channel.channel('my-channel');
205
- *
206
- * function onMessage(message, name) {
207
- * // Received data
208
- * }
209
- *
210
- * channel.subscribe(onMessage);
211
- *
212
- * channel.unsubscribe(onMessage);
213
- * ```
214
- * @since v15.1.0, v14.17.0
215
- * @param onMessage The previous subscribed handler to remove
216
- * @return `true` if the handler was found, `false` otherwise.
217
- */
218
- unsubscribe(onMessage: ChannelListener): void;
219
- /**
220
- * When `channel.runStores(context, ...)` is called, the given context data
221
- * will be applied to any store bound to the channel. If the store has already been
222
- * bound the previous `transform` function will be replaced with the new one.
223
- * The `transform` function may be omitted to set the given context data as the
224
- * context directly.
225
- *
226
- * ```js
227
- * import diagnostics_channel from 'node:diagnostics_channel';
228
- * import { AsyncLocalStorage } from 'node:async_hooks';
229
- *
230
- * const store = new AsyncLocalStorage();
231
- *
232
- * const channel = diagnostics_channel.channel('my-channel');
233
- *
234
- * channel.bindStore(store, (data) => {
235
- * return { data };
236
- * });
237
- * ```
238
- * @since v18.19.0
239
- * @experimental
240
- * @param store The store to which to bind the context data
241
- * @param transform Transform context data before setting the store context
242
- */
243
- bindStore(store: AsyncLocalStorage<StoreType>, transform?: (context: ContextType) => StoreType): void;
244
- /**
245
- * Remove a message handler previously registered to this channel with `channel.bindStore(store)`.
246
- *
247
- * ```js
248
- * import diagnostics_channel from 'node:diagnostics_channel';
249
- * import { AsyncLocalStorage } from 'node:async_hooks';
250
- *
251
- * const store = new AsyncLocalStorage();
252
- *
253
- * const channel = diagnostics_channel.channel('my-channel');
254
- *
255
- * channel.bindStore(store);
256
- * channel.unbindStore(store);
257
- * ```
258
- * @since v18.19.0
259
- * @experimental
260
- * @param store The store to unbind from the channel.
261
- * @return `true` if the store was found, `false` otherwise.
262
- */
263
- unbindStore(store: any): void;
264
- /**
265
- * Applies the given data to any AsyncLocalStorage instances bound to the channel
266
- * for the duration of the given function, then publishes to the channel within
267
- * the scope of that data is applied to the stores.
268
- *
269
- * If a transform function was given to `channel.bindStore(store)` it will be
270
- * applied to transform the message data before it becomes the context value for
271
- * the store. The prior storage context is accessible from within the transform
272
- * function in cases where context linking is required.
273
- *
274
- * The context applied to the store should be accessible in any async code which
275
- * continues from execution which began during the given function, however
276
- * there are some situations in which `context loss` may occur.
277
- *
278
- * ```js
279
- * import diagnostics_channel from 'node:diagnostics_channel';
280
- * import { AsyncLocalStorage } from 'node:async_hooks';
281
- *
282
- * const store = new AsyncLocalStorage();
283
- *
284
- * const channel = diagnostics_channel.channel('my-channel');
285
- *
286
- * channel.bindStore(store, (message) => {
287
- * const parent = store.getStore();
288
- * return new Span(message, parent);
289
- * });
290
- * channel.runStores({ some: 'message' }, () => {
291
- * store.getStore(); // Span({ some: 'message' })
292
- * });
293
- * ```
294
- * @since v19.9.0
295
- * @experimental
296
- * @param context Message to send to subscribers and bind to stores
297
- * @param fn Handler to run within the entered storage context
298
- * @param thisArg The receiver to be used for the function call.
299
- * @param args Optional arguments to pass to the function.
300
- */
301
- runStores(): void;
302
- }
303
- interface TracingChannelSubscribers<ContextType extends object> {
304
- start: (message: ContextType) => void;
305
- end: (
306
- message: ContextType & {
307
- error?: unknown;
308
- result?: unknown;
309
- },
310
- ) => void;
311
- asyncStart: (
312
- message: ContextType & {
313
- error?: unknown;
314
- result?: unknown;
315
- },
316
- ) => void;
317
- asyncEnd: (
318
- message: ContextType & {
319
- error?: unknown;
320
- result?: unknown;
321
- },
322
- ) => void;
323
- error: (
324
- message: ContextType & {
325
- error: unknown;
326
- },
327
- ) => void;
328
- }
329
- interface TracingChannelCollection<StoreType = unknown, ContextType = StoreType> {
330
- start: Channel<StoreType, ContextType>;
331
- end: Channel<StoreType, ContextType>;
332
- asyncStart: Channel<StoreType, ContextType>;
333
- asyncEnd: Channel<StoreType, ContextType>;
334
- error: Channel<StoreType, ContextType>;
335
- }
336
- /**
337
- * The class `TracingChannel` is a collection of `TracingChannel Channels` which
338
- * together express a single traceable action. It is used to formalize and
339
- * simplify the process of producing events for tracing application flow.{@link tracingChannel} is used to construct a`TracingChannel`. As with `Channel` it is recommended to create and reuse a
340
- * single `TracingChannel` at the top-level of the file rather than creating them
341
- * dynamically.
342
- * @since v18.19.0
343
- * @experimental
344
- */
345
- class TracingChannel<StoreType = unknown, ContextType extends object = {}> implements TracingChannelCollection {
346
- start: Channel<StoreType, ContextType>;
347
- end: Channel<StoreType, ContextType>;
348
- asyncStart: Channel<StoreType, ContextType>;
349
- asyncEnd: Channel<StoreType, ContextType>;
350
- error: Channel<StoreType, ContextType>;
351
- /**
352
- * Helper to subscribe a collection of functions to the corresponding channels.
353
- * This is the same as calling `channel.subscribe(onMessage)` on each channel
354
- * individually.
355
- *
356
- * ```js
357
- * import diagnostics_channel from 'node:diagnostics_channel';
358
- *
359
- * const channels = diagnostics_channel.tracingChannel('my-channel');
360
- *
361
- * channels.subscribe({
362
- * start(message) {
363
- * // Handle start message
364
- * },
365
- * end(message) {
366
- * // Handle end message
367
- * },
368
- * asyncStart(message) {
369
- * // Handle asyncStart message
370
- * },
371
- * asyncEnd(message) {
372
- * // Handle asyncEnd message
373
- * },
374
- * error(message) {
375
- * // Handle error message
376
- * },
377
- * });
378
- * ```
379
- * @since v18.19.0
380
- * @experimental
381
- * @param subscribers Set of `TracingChannel Channels` subscribers
382
- */
383
- subscribe(subscribers: TracingChannelSubscribers<ContextType>): void;
384
- /**
385
- * Helper to unsubscribe a collection of functions from the corresponding channels.
386
- * This is the same as calling `channel.unsubscribe(onMessage)` on each channel
387
- * individually.
388
- *
389
- * ```js
390
- * import diagnostics_channel from 'node:diagnostics_channel';
391
- *
392
- * const channels = diagnostics_channel.tracingChannel('my-channel');
393
- *
394
- * channels.unsubscribe({
395
- * start(message) {
396
- * // Handle start message
397
- * },
398
- * end(message) {
399
- * // Handle end message
400
- * },
401
- * asyncStart(message) {
402
- * // Handle asyncStart message
403
- * },
404
- * asyncEnd(message) {
405
- * // Handle asyncEnd message
406
- * },
407
- * error(message) {
408
- * // Handle error message
409
- * },
410
- * });
411
- * ```
412
- * @since v18.19.0
413
- * @experimental
414
- * @param subscribers Set of `TracingChannel Channels` subscribers
415
- * @return `true` if all handlers were successfully unsubscribed, and `false` otherwise.
416
- */
417
- unsubscribe(subscribers: TracingChannelSubscribers<ContextType>): void;
418
- /**
419
- * Trace a synchronous function call. This will always produce a `start event` and `end event` around the execution and may produce an `error event` if the given function throws an error.
420
- * This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
421
- * events should have any bound stores set to match this trace context.
422
- *
423
- * ```js
424
- * import diagnostics_channel from 'node:diagnostics_channel';
425
- *
426
- * const channels = diagnostics_channel.tracingChannel('my-channel');
427
- *
428
- * channels.traceSync(() => {
429
- * // Do something
430
- * }, {
431
- * some: 'thing',
432
- * });
433
- * ```
434
- * @since v18.19.0
435
- * @experimental
436
- * @param fn Function to wrap a trace around
437
- * @param context Shared object to correlate events through
438
- * @param thisArg The receiver to be used for the function call
439
- * @param args Optional arguments to pass to the function
440
- * @return The return value of the given function
441
- */
442
- traceSync<ThisArg = any, Args extends any[] = any[]>(
443
- fn: (this: ThisArg, ...args: Args) => any,
444
- context?: ContextType,
445
- thisArg?: ThisArg,
446
- ...args: Args
447
- ): void;
448
- /**
449
- * Trace a promise-returning function call. This will always produce a `start event` and `end event` around the synchronous portion of the
450
- * function execution, and will produce an `asyncStart event` and `asyncEnd event` when a promise continuation is reached. It may also
451
- * produce an `error event` if the given function throws an error or the
452
- * returned promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
453
- * events should have any bound stores set to match this trace context.
454
- *
455
- * ```js
456
- * import diagnostics_channel from 'node:diagnostics_channel';
457
- *
458
- * const channels = diagnostics_channel.tracingChannel('my-channel');
459
- *
460
- * channels.tracePromise(async () => {
461
- * // Do something
462
- * }, {
463
- * some: 'thing',
464
- * });
465
- * ```
466
- * @since v18.19.0
467
- * @experimental
468
- * @param fn Promise-returning function to wrap a trace around
469
- * @param context Shared object to correlate trace events through
470
- * @param thisArg The receiver to be used for the function call
471
- * @param args Optional arguments to pass to the function
472
- * @return Chained from promise returned by the given function
473
- */
474
- tracePromise<ThisArg = any, Args extends any[] = any[]>(
475
- fn: (this: ThisArg, ...args: Args) => Promise<any>,
476
- context?: ContextType,
477
- thisArg?: ThisArg,
478
- ...args: Args
479
- ): void;
480
- /**
481
- * Trace a callback-receiving function call. This will always produce a `start event` and `end event` around the synchronous portion of the
482
- * function execution, and will produce a `asyncStart event` and `asyncEnd event` around the callback execution. It may also produce an `error event` if the given function throws an error or
483
- * the returned
484
- * promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
485
- * events should have any bound stores set to match this trace context.
486
- *
487
- * The `position` will be -1 by default to indicate the final argument should
488
- * be used as the callback.
489
- *
490
- * ```js
491
- * import diagnostics_channel from 'node:diagnostics_channel';
492
- *
493
- * const channels = diagnostics_channel.tracingChannel('my-channel');
494
- *
495
- * channels.traceCallback((arg1, callback) => {
496
- * // Do something
497
- * callback(null, 'result');
498
- * }, 1, {
499
- * some: 'thing',
500
- * }, thisArg, arg1, callback);
501
- * ```
502
- *
503
- * The callback will also be run with `channel.runStores(context, ...)` which
504
- * enables context loss recovery in some cases.
505
- *
506
- * ```js
507
- * import diagnostics_channel from 'node:diagnostics_channel';
508
- * import { AsyncLocalStorage } from 'node:async_hooks';
509
- *
510
- * const channels = diagnostics_channel.tracingChannel('my-channel');
511
- * const myStore = new AsyncLocalStorage();
512
- *
513
- * // The start channel sets the initial store data to something
514
- * // and stores that store data value on the trace context object
515
- * channels.start.bindStore(myStore, (data) => {
516
- * const span = new Span(data);
517
- * data.span = span;
518
- * return span;
519
- * });
520
- *
521
- * // Then asyncStart can restore from that data it stored previously
522
- * channels.asyncStart.bindStore(myStore, (data) => {
523
- * return data.span;
524
- * });
525
- * ```
526
- * @since v18.19.0
527
- * @experimental
528
- * @param fn callback using function to wrap a trace around
529
- * @param position Zero-indexed argument position of expected callback
530
- * @param context Shared object to correlate trace events through
531
- * @param thisArg The receiver to be used for the function call
532
- * @param args Optional arguments to pass to the function
533
- * @return The return value of the given function
534
- */
535
- traceCallback<Fn extends (this: any, ...args: any) => any>(
536
- fn: Fn,
537
- position: number | undefined,
538
- context: ContextType | undefined,
539
- thisArg: any,
540
- ...args: Parameters<Fn>
541
- ): void;
542
- }
543
- }
544
- declare module "node:diagnostics_channel" {
545
- export * from "diagnostics_channel";
546
- }