@cloudflare/workers-types 4.20251014.0 → 4.20251107.0

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.
package/latest/index.ts CHANGED
@@ -16,17 +16,26 @@ and limitations under the License.
16
16
  // noinspection JSUnusedGlobalSymbols
17
17
  export declare var onmessage: never;
18
18
  /**
19
- * An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
19
+ * The **`DOMException`** interface represents an abnormal event (called an **exception**) that occurs as a result of calling a method or accessing a property of a web API.
20
20
  *
21
21
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
22
22
  */
23
23
  export declare class DOMException extends Error {
24
24
  constructor(message?: string, name?: string);
25
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message) */
25
+ /**
26
+ * The **`message`** read-only property of the a message or description associated with the given error name.
27
+ *
28
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
29
+ */
26
30
  readonly message: string;
27
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name) */
31
+ /**
32
+ * The **`name`** read-only property of the one of the strings associated with an error name.
33
+ *
34
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
35
+ */
28
36
  readonly name: string;
29
37
  /**
38
+ * The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or `0` if none match.
30
39
  * @deprecated
31
40
  *
32
41
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
@@ -70,45 +79,121 @@ export type WorkerGlobalScopeEventMap = {
70
79
  export declare abstract class WorkerGlobalScope extends EventTarget<WorkerGlobalScopeEventMap> {
71
80
  EventTarget: typeof EventTarget;
72
81
  }
73
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console) */
82
+ /* The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). *
83
+ * The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox).
84
+ *
85
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)
86
+ */
74
87
  export interface Console {
75
88
  "assert"(condition?: boolean, ...data: any[]): void;
76
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
89
+ /**
90
+ * The **`console.clear()`** static method clears the console if possible.
91
+ *
92
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static)
93
+ */
77
94
  clear(): void;
78
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
95
+ /**
96
+ * The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called.
97
+ *
98
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static)
99
+ */
79
100
  count(label?: string): void;
80
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
101
+ /**
102
+ * The **`console.countReset()`** static method resets counter used with console/count_static.
103
+ *
104
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static)
105
+ */
81
106
  countReset(label?: string): void;
82
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
107
+ /**
108
+ * The **`console.debug()`** static method outputs a message to the console at the 'debug' log level.
109
+ *
110
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static)
111
+ */
83
112
  debug(...data: any[]): void;
84
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
113
+ /**
114
+ * The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object.
115
+ *
116
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static)
117
+ */
85
118
  dir(item?: any, options?: any): void;
86
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
119
+ /**
120
+ * The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element.
121
+ *
122
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static)
123
+ */
87
124
  dirxml(...data: any[]): void;
88
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
125
+ /**
126
+ * The **`console.error()`** static method outputs a message to the console at the 'error' log level.
127
+ *
128
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static)
129
+ */
89
130
  error(...data: any[]): void;
90
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
131
+ /**
132
+ * The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by an additional level, until console/groupEnd_static is called.
133
+ *
134
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static)
135
+ */
91
136
  group(...data: any[]): void;
92
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
137
+ /**
138
+ * The **`console.groupCollapsed()`** static method creates a new inline group in the console.
139
+ *
140
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static)
141
+ */
93
142
  groupCollapsed(...data: any[]): void;
94
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
143
+ /**
144
+ * The **`console.groupEnd()`** static method exits the current inline group in the console.
145
+ *
146
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static)
147
+ */
95
148
  groupEnd(): void;
96
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
149
+ /**
150
+ * The **`console.info()`** static method outputs a message to the console at the 'info' log level.
151
+ *
152
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static)
153
+ */
97
154
  info(...data: any[]): void;
98
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
155
+ /**
156
+ * The **`console.log()`** static method outputs a message to the console.
157
+ *
158
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static)
159
+ */
99
160
  log(...data: any[]): void;
100
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
161
+ /**
162
+ * The **`console.table()`** static method displays tabular data as a table.
163
+ *
164
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static)
165
+ */
101
166
  table(tabularData?: any, properties?: string[]): void;
102
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
167
+ /**
168
+ * The **`console.time()`** static method starts a timer you can use to track how long an operation takes.
169
+ *
170
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static)
171
+ */
103
172
  time(label?: string): void;
104
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
173
+ /**
174
+ * The **`console.timeEnd()`** static method stops a timer that was previously started by calling console/time_static.
175
+ *
176
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static)
177
+ */
105
178
  timeEnd(label?: string): void;
106
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
179
+ /**
180
+ * The **`console.timeLog()`** static method logs the current value of a timer that was previously started by calling console/time_static.
181
+ *
182
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
183
+ */
107
184
  timeLog(label?: string, ...data: any[]): void;
108
185
  timeStamp(label?: string): void;
109
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
186
+ /**
187
+ * The **`console.trace()`** static method outputs a stack trace to the console.
188
+ *
189
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static)
190
+ */
110
191
  trace(...data: any[]): void;
111
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
192
+ /**
193
+ * The **`console.warn()`** static method outputs a warning message to the console at the 'warning' log level.
194
+ *
195
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static)
196
+ */
112
197
  warn(...data: any[]): void;
113
198
  }
114
199
  export declare const console: Console;
@@ -200,7 +285,7 @@ export declare namespace WebAssembly {
200
285
  function validate(bytes: BufferSource): boolean;
201
286
  }
202
287
  /**
203
- * This ServiceWorker API interface represents the global execution context of a service worker.
288
+ * The **`ServiceWorkerGlobalScope`** interface of the Service Worker API represents the global execution context of a service worker.
204
289
  * Available only in secure contexts.
205
290
  *
206
291
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
@@ -312,7 +397,7 @@ export declare function removeEventListener<
312
397
  options?: EventTargetEventListenerOptions | boolean,
313
398
  ): void;
314
399
  /**
315
- * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
400
+ * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
316
401
  *
317
402
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
318
403
  */
@@ -394,6 +479,7 @@ export interface TestController {}
394
479
  export interface ExecutionContext<Props = unknown> {
395
480
  waitUntil(promise: Promise<any>): void;
396
481
  passThroughOnException(): void;
482
+ readonly exports: Cloudflare.Exports;
397
483
  readonly props: Props;
398
484
  }
399
485
  export type ExportedHandlerFetchHandler<
@@ -451,13 +537,6 @@ export interface ExportedHandler<
451
537
  export interface StructuredSerializeOptions {
452
538
  transfer?: any[];
453
539
  }
454
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
455
- export declare abstract class PromiseRejectionEvent extends Event {
456
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
457
- readonly promise: Promise<any>;
458
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
459
- readonly reason: any;
460
- }
461
540
  export declare abstract class Navigator {
462
541
  sendBeacon(
463
542
  url: string,
@@ -553,6 +632,7 @@ export interface DurableObjectClass<
553
632
  > {}
554
633
  export interface DurableObjectState<Props = unknown> {
555
634
  waitUntil(promise: Promise<any>): void;
635
+ readonly exports: Cloudflare.Exports;
556
636
  readonly props: Props;
557
637
  readonly id: DurableObjectId;
558
638
  readonly storage: DurableObjectStorage;
@@ -680,116 +760,120 @@ export interface AnalyticsEngineDataPoint {
680
760
  blobs?: ((ArrayBuffer | string) | null)[];
681
761
  }
682
762
  /**
683
- * An event which takes place in the DOM.
763
+ * The **`Event`** interface represents an event which takes place on an `EventTarget`.
684
764
  *
685
765
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
686
766
  */
687
767
  export declare class Event {
688
768
  constructor(type: string, init?: EventInit);
689
769
  /**
690
- * Returns the type of event, e.g. "click", "hashchange", or "submit".
770
+ * The **`type`** read-only property of the Event interface returns a string containing the event's type.
691
771
  *
692
772
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)
693
773
  */
694
774
  get type(): string;
695
775
  /**
696
- * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
776
+ * The **`eventPhase`** read-only property of the being evaluated.
697
777
  *
698
778
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
699
779
  */
700
780
  get eventPhase(): number;
701
781
  /**
702
- * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.
782
+ * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
703
783
  *
704
784
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
705
785
  */
706
786
  get composed(): boolean;
707
787
  /**
708
- * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.
788
+ * The **`bubbles`** read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.
709
789
  *
710
790
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)
711
791
  */
712
792
  get bubbles(): boolean;
713
793
  /**
714
- * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
794
+ * The **`cancelable`** read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.
715
795
  *
716
796
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)
717
797
  */
718
798
  get cancelable(): boolean;
719
799
  /**
720
- * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
800
+ * The **`defaultPrevented`** read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.
721
801
  *
722
802
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)
723
803
  */
724
804
  get defaultPrevented(): boolean;
725
805
  /**
806
+ * The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.
726
807
  * @deprecated
727
808
  *
728
809
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/returnValue)
729
810
  */
730
811
  get returnValue(): boolean;
731
812
  /**
732
- * Returns the object whose event listener's callback is currently being invoked.
813
+ * The **`currentTarget`** read-only property of the Event interface identifies the element to which the event handler has been attached.
733
814
  *
734
815
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)
735
816
  */
736
817
  get currentTarget(): EventTarget | undefined;
737
818
  /**
738
- * Returns the object to which event is dispatched (its target).
819
+ * The read-only **`target`** property of the dispatched.
739
820
  *
740
821
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
741
822
  */
742
823
  get target(): EventTarget | undefined;
743
824
  /**
825
+ * The deprecated **`Event.srcElement`** is an alias for the Event.target property.
744
826
  * @deprecated
745
827
  *
746
828
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)
747
829
  */
748
830
  get srcElement(): EventTarget | undefined;
749
831
  /**
750
- * Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
832
+ * The **`timeStamp`** read-only property of the Event interface returns the time (in milliseconds) at which the event was created.
751
833
  *
752
834
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)
753
835
  */
754
836
  get timeStamp(): number;
755
837
  /**
756
- * Returns true if event was dispatched by the user agent, and false otherwise.
838
+ * The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via The only exception is the `click` event, which initializes the `isTrusted` property to `false` in user agents.
757
839
  *
758
840
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
759
841
  */
760
842
  get isTrusted(): boolean;
761
843
  /**
844
+ * The **`cancelBubble`** property of the Event interface is deprecated.
762
845
  * @deprecated
763
846
  *
764
847
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)
765
848
  */
766
849
  get cancelBubble(): boolean;
767
850
  /**
851
+ * The **`cancelBubble`** property of the Event interface is deprecated.
768
852
  * @deprecated
769
853
  *
770
854
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)
771
855
  */
772
856
  set cancelBubble(value: boolean);
773
857
  /**
774
- * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.
858
+ * The **`stopImmediatePropagation()`** method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.
775
859
  *
776
860
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
777
861
  */
778
862
  stopImmediatePropagation(): void;
779
863
  /**
780
- * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.
864
+ * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
781
865
  *
782
866
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
783
867
  */
784
868
  preventDefault(): void;
785
869
  /**
786
- * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
870
+ * The **`stopPropagation()`** method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.
787
871
  *
788
872
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)
789
873
  */
790
874
  stopPropagation(): void;
791
875
  /**
792
- * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.
876
+ * The **`composedPath()`** method of the Event interface returns the event's path which is an array of the objects on which listeners will be invoked.
793
877
  *
794
878
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath)
795
879
  */
@@ -814,7 +898,7 @@ export type EventListenerOrEventListenerObject<
814
898
  EventType extends Event = Event,
815
899
  > = EventListener<EventType> | EventListenerObject<EventType>;
816
900
  /**
817
- * EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
901
+ * The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.
818
902
  *
819
903
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)
820
904
  */
@@ -823,19 +907,7 @@ export declare class EventTarget<
823
907
  > {
824
908
  constructor();
825
909
  /**
826
- * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
827
- *
828
- * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
829
- *
830
- * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
831
- *
832
- * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
833
- *
834
- * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
835
- *
836
- * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
837
- *
838
- * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
910
+ * The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
839
911
  *
840
912
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
841
913
  */
@@ -845,7 +917,7 @@ export declare class EventTarget<
845
917
  options?: EventTargetAddEventListenerOptions | boolean,
846
918
  ): void;
847
919
  /**
848
- * Removes the event listener in target's event listener list with the same type, callback, and options.
920
+ * The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
849
921
  *
850
922
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
851
923
  */
@@ -855,7 +927,7 @@ export declare class EventTarget<
855
927
  options?: EventTargetEventListenerOptions | boolean,
856
928
  ): void;
857
929
  /**
858
- * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
930
+ * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
859
931
  *
860
932
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
861
933
  */
@@ -874,50 +946,70 @@ export interface EventTargetHandlerObject {
874
946
  handleEvent: (event: Event) => any | undefined;
875
947
  }
876
948
  /**
877
- * A controller object that allows you to abort one or more DOM requests as and when desired.
949
+ * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.
878
950
  *
879
951
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
880
952
  */
881
953
  export declare class AbortController {
882
954
  constructor();
883
955
  /**
884
- * Returns the AbortSignal object associated with this object.
956
+ * The **`signal`** read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.
885
957
  *
886
958
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
887
959
  */
888
960
  get signal(): AbortSignal;
889
961
  /**
890
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
962
+ * The **`abort()`** method of the AbortController interface aborts an asynchronous operation before it has completed.
891
963
  *
892
964
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
893
965
  */
894
966
  abort(reason?: any): void;
895
967
  }
896
968
  /**
897
- * A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
969
+ * The **`AbortSignal`** interface represents a signal object that allows you to communicate with an asynchronous operation (such as a fetch request) and abort it if required via an AbortController object.
898
970
  *
899
971
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)
900
972
  */
901
973
  export declare abstract class AbortSignal extends EventTarget {
902
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
974
+ /**
975
+ * The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).
976
+ *
977
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
978
+ */
903
979
  static abort(reason?: any): AbortSignal;
904
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
980
+ /**
981
+ * The **`AbortSignal.timeout()`** static method returns an AbortSignal that will automatically abort after a specified time.
982
+ *
983
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static)
984
+ */
905
985
  static timeout(delay: number): AbortSignal;
906
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
986
+ /**
987
+ * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
988
+ *
989
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)
990
+ */
907
991
  static any(signals: AbortSignal[]): AbortSignal;
908
992
  /**
909
- * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
993
+ * The **`aborted`** read-only property returns a value that indicates whether the asynchronous operations the signal is communicating with are aborted (`true`) or not (`false`).
910
994
  *
911
995
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)
912
996
  */
913
997
  get aborted(): boolean;
914
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason) */
998
+ /**
999
+ * The **`reason`** read-only property returns a JavaScript value that indicates the abort reason.
1000
+ *
1001
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason)
1002
+ */
915
1003
  get reason(): any;
916
1004
  /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
917
1005
  get onabort(): any | null;
918
1006
  /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
919
1007
  set onabort(value: any | null);
920
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) */
1008
+ /**
1009
+ * The **`throwIfAborted()`** method throws the signal's abort AbortSignal.reason if the signal has been aborted; otherwise it does nothing.
1010
+ *
1011
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted)
1012
+ */
921
1013
  throwIfAborted(): void;
922
1014
  }
923
1015
  export interface Scheduler {
@@ -927,19 +1019,27 @@ export interface SchedulerWaitOptions {
927
1019
  signal?: AbortSignal;
928
1020
  }
929
1021
  /**
930
- * Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
1022
+ * The **`ExtendableEvent`** interface extends the lifetime of the `install` and `activate` events dispatched on the global scope as part of the service worker lifecycle.
931
1023
  *
932
1024
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent)
933
1025
  */
934
1026
  export declare abstract class ExtendableEvent extends Event {
935
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent/waitUntil) */
1027
+ /**
1028
+ * The **`ExtendableEvent.waitUntil()`** method tells the event dispatcher that work is ongoing.
1029
+ *
1030
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent/waitUntil)
1031
+ */
936
1032
  waitUntil(promise: Promise<any>): void;
937
1033
  }
938
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent) */
1034
+ /**
1035
+ * The **`CustomEvent`** interface represents events initialized by an application for any purpose.
1036
+ *
1037
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
1038
+ */
939
1039
  export declare class CustomEvent<T = any> extends Event {
940
1040
  constructor(type: string, init?: CustomEventCustomEventInit);
941
1041
  /**
942
- * Returns any custom data event was created with. Typically used for synthetic events.
1042
+ * The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.
943
1043
  *
944
1044
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)
945
1045
  */
@@ -952,7 +1052,7 @@ export interface CustomEventCustomEventInit {
952
1052
  detail?: any;
953
1053
  }
954
1054
  /**
955
- * A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
1055
+ * The **`Blob`** interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
956
1056
  *
957
1057
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
958
1058
  */
@@ -961,26 +1061,54 @@ export declare class Blob {
961
1061
  type?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
962
1062
  options?: BlobOptions,
963
1063
  );
964
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
1064
+ /**
1065
+ * The **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.
1066
+ *
1067
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size)
1068
+ */
965
1069
  get size(): number;
966
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
1070
+ /**
1071
+ * The **`type`** read-only property of the Blob interface returns the MIME type of the file.
1072
+ *
1073
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type)
1074
+ */
967
1075
  get type(): string;
968
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
1076
+ /**
1077
+ * The **`slice()`** method of the Blob interface creates and returns a new `Blob` object which contains data from a subset of the blob on which it's called.
1078
+ *
1079
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice)
1080
+ */
969
1081
  slice(start?: number, end?: number, type?: string): Blob;
970
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
1082
+ /**
1083
+ * The **`arrayBuffer()`** method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
1084
+ *
1085
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer)
1086
+ */
971
1087
  arrayBuffer(): Promise<ArrayBuffer>;
972
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
1088
+ /**
1089
+ * The **`bytes()`** method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.
1090
+ *
1091
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes)
1092
+ */
973
1093
  bytes(): Promise<Uint8Array>;
974
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
1094
+ /**
1095
+ * The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
1096
+ *
1097
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
1098
+ */
975
1099
  text(): Promise<string>;
976
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
1100
+ /**
1101
+ * The **`stream()`** method of the Blob interface returns a ReadableStream which upon reading returns the data contained within the `Blob`.
1102
+ *
1103
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream)
1104
+ */
977
1105
  stream(): ReadableStream;
978
1106
  }
979
1107
  export interface BlobOptions {
980
1108
  type?: string;
981
1109
  }
982
1110
  /**
983
- * Provides information about files and allows JavaScript in a web page to access their content.
1111
+ * The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.
984
1112
  *
985
1113
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
986
1114
  */
@@ -990,9 +1118,17 @@ export declare class File extends Blob {
990
1118
  name: string,
991
1119
  options?: FileOptions,
992
1120
  );
993
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
1121
+ /**
1122
+ * The **`name`** read-only property of the File interface returns the name of the file represented by a File object.
1123
+ *
1124
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name)
1125
+ */
994
1126
  get name(): string;
995
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
1127
+ /**
1128
+ * The **`lastModified`** read-only property of the File interface provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight).
1129
+ *
1130
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified)
1131
+ */
996
1132
  get lastModified(): number;
997
1133
  }
998
1134
  export interface FileOptions {
@@ -1005,7 +1141,11 @@ export interface FileOptions {
1005
1141
  * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/cache/)
1006
1142
  */
1007
1143
  export declare abstract class CacheStorage {
1008
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open) */
1144
+ /**
1145
+ * The **`open()`** method of the the Cache object matching the `cacheName`.
1146
+ *
1147
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
1148
+ */
1009
1149
  open(cacheName: string): Promise<Cache>;
1010
1150
  readonly default: Cache;
1011
1151
  }
@@ -1041,12 +1181,17 @@ export interface CacheQueryOptions {
1041
1181
  */
1042
1182
  export declare abstract class Crypto {
1043
1183
  /**
1184
+ * The **`Crypto.subtle`** read-only property returns a cryptographic operations.
1044
1185
  * Available only in secure contexts.
1045
1186
  *
1046
1187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
1047
1188
  */
1048
1189
  get subtle(): SubtleCrypto;
1049
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
1190
+ /**
1191
+ * The **`Crypto.getRandomValues()`** method lets you get cryptographically strong random values.
1192
+ *
1193
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)
1194
+ */
1050
1195
  getRandomValues<
1051
1196
  T extends
1052
1197
  | Int8Array
@@ -1059,6 +1204,7 @@ export declare abstract class Crypto {
1059
1204
  | BigUint64Array,
1060
1205
  >(buffer: T): T;
1061
1206
  /**
1207
+ * The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
1062
1208
  * Available only in secure contexts.
1063
1209
  *
1064
1210
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)
@@ -1067,49 +1213,77 @@ export declare abstract class Crypto {
1067
1213
  DigestStream: typeof DigestStream;
1068
1214
  }
1069
1215
  /**
1070
- * This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).
1216
+ * The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.
1071
1217
  * Available only in secure contexts.
1072
1218
  *
1073
1219
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)
1074
1220
  */
1075
1221
  export declare abstract class SubtleCrypto {
1076
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/encrypt) */
1222
+ /**
1223
+ * The **`encrypt()`** method of the SubtleCrypto interface encrypts data.
1224
+ *
1225
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/encrypt)
1226
+ */
1077
1227
  encrypt(
1078
1228
  algorithm: string | SubtleCryptoEncryptAlgorithm,
1079
1229
  key: CryptoKey,
1080
1230
  plainText: ArrayBuffer | ArrayBufferView,
1081
1231
  ): Promise<ArrayBuffer>;
1082
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */
1232
+ /**
1233
+ * The **`decrypt()`** method of the SubtleCrypto interface decrypts some encrypted data.
1234
+ *
1235
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt)
1236
+ */
1083
1237
  decrypt(
1084
1238
  algorithm: string | SubtleCryptoEncryptAlgorithm,
1085
1239
  key: CryptoKey,
1086
1240
  cipherText: ArrayBuffer | ArrayBufferView,
1087
1241
  ): Promise<ArrayBuffer>;
1088
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign) */
1242
+ /**
1243
+ * The **`sign()`** method of the SubtleCrypto interface generates a digital signature.
1244
+ *
1245
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign)
1246
+ */
1089
1247
  sign(
1090
1248
  algorithm: string | SubtleCryptoSignAlgorithm,
1091
1249
  key: CryptoKey,
1092
1250
  data: ArrayBuffer | ArrayBufferView,
1093
1251
  ): Promise<ArrayBuffer>;
1094
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify) */
1252
+ /**
1253
+ * The **`verify()`** method of the SubtleCrypto interface verifies a digital signature.
1254
+ *
1255
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify)
1256
+ */
1095
1257
  verify(
1096
1258
  algorithm: string | SubtleCryptoSignAlgorithm,
1097
1259
  key: CryptoKey,
1098
1260
  signature: ArrayBuffer | ArrayBufferView,
1099
1261
  data: ArrayBuffer | ArrayBufferView,
1100
1262
  ): Promise<boolean>;
1101
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */
1263
+ /**
1264
+ * The **`digest()`** method of the SubtleCrypto interface generates a _digest_ of the given data, using the specified hash function.
1265
+ *
1266
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest)
1267
+ */
1102
1268
  digest(
1103
1269
  algorithm: string | SubtleCryptoHashAlgorithm,
1104
1270
  data: ArrayBuffer | ArrayBufferView,
1105
1271
  ): Promise<ArrayBuffer>;
1106
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
1272
+ /**
1273
+ * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
1274
+ *
1275
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
1276
+ */
1107
1277
  generateKey(
1108
1278
  algorithm: string | SubtleCryptoGenerateKeyAlgorithm,
1109
1279
  extractable: boolean,
1110
1280
  keyUsages: string[],
1111
1281
  ): Promise<CryptoKey | CryptoKeyPair>;
1112
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
1282
+ /**
1283
+ * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
1284
+ *
1285
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
1286
+ */
1113
1287
  deriveKey(
1114
1288
  algorithm: string | SubtleCryptoDeriveKeyAlgorithm,
1115
1289
  baseKey: CryptoKey,
@@ -1117,13 +1291,21 @@ export declare abstract class SubtleCrypto {
1117
1291
  extractable: boolean,
1118
1292
  keyUsages: string[],
1119
1293
  ): Promise<CryptoKey>;
1120
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */
1294
+ /**
1295
+ * The **`deriveBits()`** method of the key.
1296
+ *
1297
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
1298
+ */
1121
1299
  deriveBits(
1122
1300
  algorithm: string | SubtleCryptoDeriveKeyAlgorithm,
1123
1301
  baseKey: CryptoKey,
1124
1302
  length?: number | null,
1125
1303
  ): Promise<ArrayBuffer>;
1126
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
1304
+ /**
1305
+ * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
1306
+ *
1307
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
1308
+ */
1127
1309
  importKey(
1128
1310
  format: string,
1129
1311
  keyData: (ArrayBuffer | ArrayBufferView) | JsonWebKey,
@@ -1131,16 +1313,28 @@ export declare abstract class SubtleCrypto {
1131
1313
  extractable: boolean,
1132
1314
  keyUsages: string[],
1133
1315
  ): Promise<CryptoKey>;
1134
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/exportKey) */
1316
+ /**
1317
+ * The **`exportKey()`** method of the SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format.
1318
+ *
1319
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/exportKey)
1320
+ */
1135
1321
  exportKey(format: string, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
1136
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/wrapKey) */
1322
+ /**
1323
+ * The **`wrapKey()`** method of the SubtleCrypto interface 'wraps' a key.
1324
+ *
1325
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/wrapKey)
1326
+ */
1137
1327
  wrapKey(
1138
1328
  format: string,
1139
1329
  key: CryptoKey,
1140
1330
  wrappingKey: CryptoKey,
1141
1331
  wrapAlgorithm: string | SubtleCryptoEncryptAlgorithm,
1142
1332
  ): Promise<ArrayBuffer>;
1143
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
1333
+ /**
1334
+ * The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
1335
+ *
1336
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
1337
+ */
1144
1338
  unwrapKey(
1145
1339
  format: string,
1146
1340
  wrappedKey: ArrayBuffer | ArrayBufferView,
@@ -1156,17 +1350,29 @@ export declare abstract class SubtleCrypto {
1156
1350
  ): boolean;
1157
1351
  }
1158
1352
  /**
1159
- * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.
1353
+ * The **`CryptoKey`** interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey.
1160
1354
  * Available only in secure contexts.
1161
1355
  *
1162
1356
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)
1163
1357
  */
1164
1358
  export declare abstract class CryptoKey {
1165
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/type) */
1359
+ /**
1360
+ * The read-only **`type`** property of the CryptoKey interface indicates which kind of key is represented by the object.
1361
+ *
1362
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/type)
1363
+ */
1166
1364
  readonly type: string;
1167
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/extractable) */
1365
+ /**
1366
+ * The read-only **`extractable`** property of the CryptoKey interface indicates whether or not the key may be extracted using `SubtleCrypto.exportKey()` or `SubtleCrypto.wrapKey()`.
1367
+ *
1368
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/extractable)
1369
+ */
1168
1370
  readonly extractable: boolean;
1169
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/algorithm) */
1371
+ /**
1372
+ * The read-only **`algorithm`** property of the CryptoKey interface returns an object describing the algorithm for which this key can be used, and any associated extra parameters.
1373
+ *
1374
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/algorithm)
1375
+ */
1170
1376
  readonly algorithm:
1171
1377
  | CryptoKeyKeyAlgorithm
1172
1378
  | CryptoKeyAesKeyAlgorithm
@@ -1174,7 +1380,11 @@ export declare abstract class CryptoKey {
1174
1380
  | CryptoKeyRsaKeyAlgorithm
1175
1381
  | CryptoKeyEllipticKeyAlgorithm
1176
1382
  | CryptoKeyArbitraryKeyAlgorithm;
1177
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages) */
1383
+ /**
1384
+ * The read-only **`usages`** property of the CryptoKey interface indicates what can be done with the key.
1385
+ *
1386
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages)
1387
+ */
1178
1388
  readonly usages: string[];
1179
1389
  }
1180
1390
  export interface CryptoKeyPair {
@@ -1283,24 +1493,14 @@ export declare class DigestStream extends WritableStream<
1283
1493
  get bytesWritten(): number | bigint;
1284
1494
  }
1285
1495
  /**
1286
- * A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.
1496
+ * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
1287
1497
  *
1288
1498
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
1289
1499
  */
1290
1500
  export declare class TextDecoder {
1291
1501
  constructor(label?: string, options?: TextDecoderConstructorOptions);
1292
1502
  /**
1293
- * Returns the result of running encoding's decoder. The method can be invoked zero or more times with options's stream set to true, and then once without options's stream (or set to false), to process a fragmented input. If the invocation without options's stream (or set to false) has no input, it's clearest to omit both arguments.
1294
- *
1295
- * ```
1296
- * var string = "", decoder = new TextDecoder(encoding), buffer;
1297
- * while(buffer = next_chunk()) {
1298
- * string += decoder.decode(buffer, {stream:true});
1299
- * }
1300
- * string += decoder.decode(); // end-of-queue
1301
- * ```
1302
- *
1303
- * If the error mode is "fatal" and encoding's decoder returns error, throws a TypeError.
1503
+ * The **`TextDecoder.decode()`** method returns a string containing text decoded from the buffer passed as a parameter.
1304
1504
  *
1305
1505
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)
1306
1506
  */
@@ -1313,27 +1513,24 @@ export declare class TextDecoder {
1313
1513
  get ignoreBOM(): boolean;
1314
1514
  }
1315
1515
  /**
1316
- * TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.
1516
+ * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
1317
1517
  *
1318
1518
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
1319
1519
  */
1320
1520
  export declare class TextEncoder {
1321
1521
  constructor();
1322
1522
  /**
1323
- * Returns the result of running UTF-8's encoder.
1523
+ * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
1324
1524
  *
1325
1525
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
1326
1526
  */
1327
1527
  encode(input?: string): Uint8Array;
1328
1528
  /**
1329
- * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.
1529
+ * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.
1330
1530
  *
1331
1531
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
1332
1532
  */
1333
- encodeInto(
1334
- input: string,
1335
- buffer: ArrayBuffer | ArrayBufferView,
1336
- ): TextEncoderEncodeIntoResult;
1533
+ encodeInto(input: string, buffer: Uint8Array): TextEncoderEncodeIntoResult;
1337
1534
  get encoding(): string;
1338
1535
  }
1339
1536
  export interface TextDecoderConstructorOptions {
@@ -1348,21 +1545,41 @@ export interface TextEncoderEncodeIntoResult {
1348
1545
  written: number;
1349
1546
  }
1350
1547
  /**
1351
- * Events providing information related to errors in scripts or in files.
1548
+ * The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.
1352
1549
  *
1353
1550
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
1354
1551
  */
1355
1552
  export declare class ErrorEvent extends Event {
1356
1553
  constructor(type: string, init?: ErrorEventErrorEventInit);
1357
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
1554
+ /**
1555
+ * The **`filename`** read-only property of the ErrorEvent interface returns a string containing the name of the script file in which the error occurred.
1556
+ *
1557
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename)
1558
+ */
1358
1559
  get filename(): string;
1359
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
1560
+ /**
1561
+ * The **`message`** read-only property of the ErrorEvent interface returns a string containing a human-readable error message describing the problem.
1562
+ *
1563
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message)
1564
+ */
1360
1565
  get message(): string;
1361
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
1566
+ /**
1567
+ * The **`lineno`** read-only property of the ErrorEvent interface returns an integer containing the line number of the script file on which the error occurred.
1568
+ *
1569
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno)
1570
+ */
1362
1571
  get lineno(): number;
1363
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
1572
+ /**
1573
+ * The **`colno`** read-only property of the ErrorEvent interface returns an integer containing the column number of the script file on which the error occurred.
1574
+ *
1575
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno)
1576
+ */
1364
1577
  get colno(): number;
1365
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
1578
+ /**
1579
+ * The **`error`** read-only property of the ErrorEvent interface returns a JavaScript value, such as an Error or DOMException, representing the error associated with this event.
1580
+ *
1581
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error)
1582
+ */
1366
1583
  get error(): any;
1367
1584
  }
1368
1585
  export interface ErrorEventErrorEventInit {
@@ -1373,38 +1590,38 @@ export interface ErrorEventErrorEventInit {
1373
1590
  error?: any;
1374
1591
  }
1375
1592
  /**
1376
- * A message received by a target object.
1593
+ * The **`MessageEvent`** interface represents a message received by a target object.
1377
1594
  *
1378
1595
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)
1379
1596
  */
1380
1597
  export declare class MessageEvent extends Event {
1381
1598
  constructor(type: string, initializer: MessageEventInit);
1382
1599
  /**
1383
- * Returns the data of the message.
1600
+ * The **`data`** read-only property of the The data sent by the message emitter; this can be any data type, depending on what originated this event.
1384
1601
  *
1385
1602
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
1386
1603
  */
1387
1604
  readonly data: any;
1388
1605
  /**
1389
- * Returns the origin of the message, for server-sent events and cross-document messaging.
1606
+ * The **`origin`** read-only property of the origin of the message emitter.
1390
1607
  *
1391
1608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
1392
1609
  */
1393
1610
  readonly origin: string | null;
1394
1611
  /**
1395
- * Returns the last event ID string, for server-sent events.
1612
+ * The **`lastEventId`** read-only property of the unique ID for the event.
1396
1613
  *
1397
1614
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
1398
1615
  */
1399
1616
  readonly lastEventId: string;
1400
1617
  /**
1401
- * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.
1618
+ * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.
1402
1619
  *
1403
1620
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
1404
1621
  */
1405
1622
  readonly source: MessagePort | null;
1406
1623
  /**
1407
- * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.
1624
+ * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
1408
1625
  *
1409
1626
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
1410
1627
  */
@@ -1414,27 +1631,78 @@ export interface MessageEventInit {
1414
1631
  data: ArrayBuffer | string;
1415
1632
  }
1416
1633
  /**
1417
- * Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
1634
+ * The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected.
1635
+ *
1636
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)
1637
+ */
1638
+ export declare abstract class PromiseRejectionEvent extends Event {
1639
+ /**
1640
+ * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
1641
+ *
1642
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
1643
+ */
1644
+ readonly promise: Promise<any>;
1645
+ /**
1646
+ * The PromiseRejectionEvent **`reason`** read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject().
1647
+ *
1648
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason)
1649
+ */
1650
+ readonly reason: any;
1651
+ }
1652
+ /**
1653
+ * The **`FormData`** interface provides a way to construct a set of key/value pairs representing form fields and their values, which can be sent using the Window/fetch, XMLHttpRequest.send() or navigator.sendBeacon() methods.
1418
1654
  *
1419
1655
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)
1420
1656
  */
1421
1657
  export declare class FormData {
1422
1658
  constructor();
1423
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append) */
1659
+ /**
1660
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1661
+ *
1662
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1663
+ */
1424
1664
  append(name: string, value: string): void;
1425
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append) */
1665
+ /**
1666
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1667
+ *
1668
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1669
+ */
1426
1670
  append(name: string, value: Blob, filename?: string): void;
1427
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/delete) */
1671
+ /**
1672
+ * The **`delete()`** method of the FormData interface deletes a key and its value(s) from a `FormData` object.
1673
+ *
1674
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/delete)
1675
+ */
1428
1676
  delete(name: string): void;
1429
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get) */
1677
+ /**
1678
+ * The **`get()`** method of the FormData interface returns the first value associated with a given key from within a `FormData` object.
1679
+ *
1680
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get)
1681
+ */
1430
1682
  get(name: string): (File | string) | null;
1431
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll) */
1683
+ /**
1684
+ * The **`getAll()`** method of the FormData interface returns all the values associated with a given key from within a `FormData` object.
1685
+ *
1686
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll)
1687
+ */
1432
1688
  getAll(name: string): (File | string)[];
1433
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has) */
1689
+ /**
1690
+ * The **`has()`** method of the FormData interface returns whether a `FormData` object contains a certain key.
1691
+ *
1692
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1693
+ */
1434
1694
  has(name: string): boolean;
1435
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set) */
1695
+ /**
1696
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1697
+ *
1698
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1699
+ */
1436
1700
  set(name: string, value: string): void;
1437
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set) */
1701
+ /**
1702
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1703
+ *
1704
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1705
+ */
1438
1706
  set(name: string, value: Blob, filename?: string): void;
1439
1707
  /* Returns an array of key, value pairs for every entry in the list. */
1440
1708
  entries(): IterableIterator<[key: string, value: File | string]>;
@@ -1560,14 +1828,22 @@ export interface DocumentEnd {
1560
1828
  append(content: string, options?: ContentOptions): DocumentEnd;
1561
1829
  }
1562
1830
  /**
1563
- * This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch.
1831
+ * This is the event type for `fetch` events dispatched on the ServiceWorkerGlobalScope.
1564
1832
  *
1565
1833
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent)
1566
1834
  */
1567
1835
  export declare abstract class FetchEvent extends ExtendableEvent {
1568
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request) */
1836
+ /**
1837
+ * The **`request`** read-only property of the the event handler.
1838
+ *
1839
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
1840
+ */
1569
1841
  readonly request: Request;
1570
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith) */
1842
+ /**
1843
+ * The **`respondWith()`** method of allows you to provide a promise for a Response yourself.
1844
+ *
1845
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
1846
+ */
1571
1847
  respondWith(promise: Response | Promise<Response>): void;
1572
1848
  passThroughOnException(): void;
1573
1849
  }
@@ -1576,24 +1852,48 @@ export type HeadersInit =
1576
1852
  | Iterable<Iterable<string>>
1577
1853
  | Record<string, string>;
1578
1854
  /**
1579
- * This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence.
1855
+ * The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.
1580
1856
  *
1581
1857
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)
1582
1858
  */
1583
1859
  export declare class Headers {
1584
1860
  constructor(init?: HeadersInit);
1585
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/get) */
1861
+ /**
1862
+ * The **`get()`** method of the Headers interface returns a byte string of all the values of a header within a `Headers` object with a given name.
1863
+ *
1864
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/get)
1865
+ */
1586
1866
  get(name: string): string | null;
1587
1867
  getAll(name: string): string[];
1588
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie) */
1868
+ /**
1869
+ * The **`getSetCookie()`** method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response.
1870
+ *
1871
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie)
1872
+ */
1589
1873
  getSetCookie(): string[];
1590
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/has) */
1874
+ /**
1875
+ * The **`has()`** method of the Headers interface returns a boolean stating whether a `Headers` object contains a certain header.
1876
+ *
1877
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/has)
1878
+ */
1591
1879
  has(name: string): boolean;
1592
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/set) */
1880
+ /**
1881
+ * The **`set()`** method of the Headers interface sets a new value for an existing header inside a `Headers` object, or adds the header if it does not already exist.
1882
+ *
1883
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/set)
1884
+ */
1593
1885
  set(name: string, value: string): void;
1594
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/append) */
1886
+ /**
1887
+ * The **`append()`** method of the Headers interface appends a new value onto an existing header inside a `Headers` object, or adds the header if it does not already exist.
1888
+ *
1889
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/append)
1890
+ */
1595
1891
  append(name: string, value: string): void;
1596
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/delete) */
1892
+ /**
1893
+ * The **`delete()`** method of the Headers interface deletes a header from the current `Headers` object.
1894
+ *
1895
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/delete)
1896
+ */
1597
1897
  delete(name: string): void;
1598
1898
  forEach<This = unknown>(
1599
1899
  callback: (this: This, value: string, key: string, parent: Headers) => void,
@@ -1634,7 +1934,7 @@ export declare abstract class Body {
1634
1934
  blob(): Promise<Blob>;
1635
1935
  }
1636
1936
  /**
1637
- * This Fetch API interface represents the response to a request.
1937
+ * The **`Response`** interface of the Fetch API represents the response to a request.
1638
1938
  *
1639
1939
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
1640
1940
  */
@@ -1646,28 +1946,60 @@ export declare var Response: {
1646
1946
  json(any: any, maybeInit?: ResponseInit | Response): Response;
1647
1947
  };
1648
1948
  /**
1649
- * This Fetch API interface represents the response to a request.
1949
+ * The **`Response`** interface of the Fetch API represents the response to a request.
1650
1950
  *
1651
1951
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
1652
1952
  */
1653
1953
  export interface Response extends Body {
1654
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/clone) */
1954
+ /**
1955
+ * The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
1956
+ *
1957
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/clone)
1958
+ */
1655
1959
  clone(): Response;
1656
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/status) */
1960
+ /**
1961
+ * The **`status`** read-only property of the Response interface contains the HTTP status codes of the response.
1962
+ *
1963
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/status)
1964
+ */
1657
1965
  status: number;
1658
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/statusText) */
1966
+ /**
1967
+ * The **`statusText`** read-only property of the Response interface contains the status message corresponding to the HTTP status code in Response.status.
1968
+ *
1969
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/statusText)
1970
+ */
1659
1971
  statusText: string;
1660
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers) */
1972
+ /**
1973
+ * The **`headers`** read-only property of the with the response.
1974
+ *
1975
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
1976
+ */
1661
1977
  headers: Headers;
1662
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/ok) */
1978
+ /**
1979
+ * The **`ok`** read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.
1980
+ *
1981
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/ok)
1982
+ */
1663
1983
  ok: boolean;
1664
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirected) */
1984
+ /**
1985
+ * The **`redirected`** read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.
1986
+ *
1987
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirected)
1988
+ */
1665
1989
  redirected: boolean;
1666
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/url) */
1990
+ /**
1991
+ * The **`url`** read-only property of the Response interface contains the URL of the response.
1992
+ *
1993
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/url)
1994
+ */
1667
1995
  url: string;
1668
1996
  webSocket: WebSocket | null;
1669
1997
  cf: any | undefined;
1670
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/type) */
1998
+ /**
1999
+ * The **`type`** read-only property of the Response interface contains the type of the response.
2000
+ *
2001
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/type)
2002
+ */
1671
2003
  type: "default" | "error";
1672
2004
  }
1673
2005
  export interface ResponseInit {
@@ -1683,7 +2015,7 @@ export type RequestInfo<
1683
2015
  Cf = CfProperties<CfHostMetadata>,
1684
2016
  > = Request<CfHostMetadata, Cf> | string;
1685
2017
  /**
1686
- * This Fetch API interface represents a resource request.
2018
+ * The **`Request`** interface of the Fetch API represents a resource request.
1687
2019
  *
1688
2020
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
1689
2021
  */
@@ -1695,7 +2027,7 @@ export declare var Request: {
1695
2027
  ): Request<CfHostMetadata, Cf>;
1696
2028
  };
1697
2029
  /**
1698
- * This Fetch API interface represents a resource request.
2030
+ * The **`Request`** interface of the Fetch API represents a resource request.
1699
2031
  *
1700
2032
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
1701
2033
  */
@@ -1703,54 +2035,58 @@ export interface Request<
1703
2035
  CfHostMetadata = unknown,
1704
2036
  Cf = CfProperties<CfHostMetadata>,
1705
2037
  > extends Body {
1706
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/clone) */
2038
+ /**
2039
+ * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.
2040
+ *
2041
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/clone)
2042
+ */
1707
2043
  clone(): Request<CfHostMetadata, Cf>;
1708
2044
  /**
1709
- * Returns request's HTTP method, which is "GET" by default.
2045
+ * The **`method`** read-only property of the `POST`, etc.) A String indicating the method of the request.
1710
2046
  *
1711
2047
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
1712
2048
  */
1713
2049
  method: string;
1714
2050
  /**
1715
- * Returns the URL of request as a string.
2051
+ * The **`url`** read-only property of the Request interface contains the URL of the request.
1716
2052
  *
1717
2053
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/url)
1718
2054
  */
1719
2055
  url: string;
1720
2056
  /**
1721
- * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.
2057
+ * The **`headers`** read-only property of the with the request.
1722
2058
  *
1723
2059
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
1724
2060
  */
1725
2061
  headers: Headers;
1726
2062
  /**
1727
- * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.
2063
+ * The **`redirect`** read-only property of the Request interface contains the mode for how redirects are handled.
1728
2064
  *
1729
2065
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/redirect)
1730
2066
  */
1731
2067
  redirect: string;
1732
2068
  fetcher: Fetcher | null;
1733
2069
  /**
1734
- * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.
2070
+ * The read-only **`signal`** property of the Request interface returns the AbortSignal associated with the request.
1735
2071
  *
1736
2072
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
1737
2073
  */
1738
2074
  signal: AbortSignal;
1739
2075
  cf: Cf | undefined;
1740
2076
  /**
1741
- * Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]
2077
+ * The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
1742
2078
  *
1743
2079
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
1744
2080
  */
1745
2081
  integrity: string;
1746
2082
  /**
1747
- * Returns a boolean indicating whether or not request can outlive the global in which it was created.
2083
+ * The **`keepalive`** read-only property of the Request interface contains the request's `keepalive` setting (`true` or `false`), which indicates whether the browser will keep the associated request alive if the page that initiated it is unloaded before the request is complete.
1748
2084
  *
1749
2085
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
1750
2086
  */
1751
2087
  keepalive: boolean;
1752
2088
  /**
1753
- * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching.
2089
+ * The **`cache`** read-only property of the Request interface contains the cache mode of the request.
1754
2090
  *
1755
2091
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/cache)
1756
2092
  */
@@ -2257,30 +2593,58 @@ export type ReadableStreamReadResult<R = any> =
2257
2593
  value?: undefined;
2258
2594
  };
2259
2595
  /**
2260
- * This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
2596
+ * The `ReadableStream` interface of the Streams API represents a readable stream of byte data.
2261
2597
  *
2262
2598
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
2263
2599
  */
2264
2600
  export interface ReadableStream<R = any> {
2265
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) */
2601
+ /**
2602
+ * The **`locked`** read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.
2603
+ *
2604
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked)
2605
+ */
2266
2606
  get locked(): boolean;
2267
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */
2607
+ /**
2608
+ * The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled.
2609
+ *
2610
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel)
2611
+ */
2268
2612
  cancel(reason?: any): Promise<void>;
2269
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) */
2613
+ /**
2614
+ * The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it.
2615
+ *
2616
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader)
2617
+ */
2270
2618
  getReader(): ReadableStreamDefaultReader<R>;
2271
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) */
2619
+ /**
2620
+ * The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it.
2621
+ *
2622
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader)
2623
+ */
2272
2624
  getReader(options: ReadableStreamGetReaderOptions): ReadableStreamBYOBReader;
2273
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough) */
2625
+ /**
2626
+ * The **`pipeThrough()`** method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.
2627
+ *
2628
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough)
2629
+ */
2274
2630
  pipeThrough<T>(
2275
2631
  transform: ReadableWritablePair<T, R>,
2276
2632
  options?: StreamPipeOptions,
2277
2633
  ): ReadableStream<T>;
2278
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo) */
2634
+ /**
2635
+ * The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
2636
+ *
2637
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo)
2638
+ */
2279
2639
  pipeTo(
2280
2640
  destination: WritableStream<R>,
2281
2641
  options?: StreamPipeOptions,
2282
2642
  ): Promise<void>;
2283
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee) */
2643
+ /**
2644
+ * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
2645
+ *
2646
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
2647
+ */
2284
2648
  tee(): [ReadableStream<R>, ReadableStream<R>];
2285
2649
  values(options?: ReadableStreamValuesOptions): AsyncIterableIterator<R>;
2286
2650
  [Symbol.asyncIterator](
@@ -2288,7 +2652,7 @@ export interface ReadableStream<R = any> {
2288
2652
  ): AsyncIterableIterator<R>;
2289
2653
  }
2290
2654
  /**
2291
- * This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
2655
+ * The `ReadableStream` interface of the Streams API represents a readable stream of byte data.
2292
2656
  *
2293
2657
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
2294
2658
  */
@@ -2303,26 +2667,50 @@ export declare const ReadableStream: {
2303
2667
  strategy?: QueuingStrategy<R>,
2304
2668
  ): ReadableStream<R>;
2305
2669
  };
2306
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) */
2670
+ /**
2671
+ * The **`ReadableStreamDefaultReader`** interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (such as a fetch request).
2672
+ *
2673
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)
2674
+ */
2307
2675
  export declare class ReadableStreamDefaultReader<R = any> {
2308
2676
  constructor(stream: ReadableStream);
2309
2677
  get closed(): Promise<void>;
2310
2678
  cancel(reason?: any): Promise<void>;
2311
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
2679
+ /**
2680
+ * The **`read()`** method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream's internal queue.
2681
+ *
2682
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read)
2683
+ */
2312
2684
  read(): Promise<ReadableStreamReadResult<R>>;
2313
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock) */
2685
+ /**
2686
+ * The **`releaseLock()`** method of the ReadableStreamDefaultReader interface releases the reader's lock on the stream.
2687
+ *
2688
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock)
2689
+ */
2314
2690
  releaseLock(): void;
2315
2691
  }
2316
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader) */
2692
+ /**
2693
+ * The `ReadableStreamBYOBReader` interface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.
2694
+ *
2695
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)
2696
+ */
2317
2697
  export declare class ReadableStreamBYOBReader {
2318
2698
  constructor(stream: ReadableStream);
2319
2699
  get closed(): Promise<void>;
2320
2700
  cancel(reason?: any): Promise<void>;
2321
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
2701
+ /**
2702
+ * The **`read()`** method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream.
2703
+ *
2704
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)
2705
+ */
2322
2706
  read<T extends ArrayBufferView>(
2323
2707
  view: T,
2324
2708
  ): Promise<ReadableStreamReadResult<T>>;
2325
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock) */
2709
+ /**
2710
+ * The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
2711
+ *
2712
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock)
2713
+ */
2326
2714
  releaseLock(): void;
2327
2715
  readAtLeast<T extends ArrayBufferView>(
2328
2716
  minElements: number,
@@ -2340,60 +2728,148 @@ export interface ReadableStreamGetReaderOptions {
2340
2728
  */
2341
2729
  mode: "byob";
2342
2730
  }
2343
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
2731
+ /**
2732
+ * The **`ReadableStreamBYOBRequest`** interface of the Streams API represents a 'pull request' for data from an underlying source that will made as a zero-copy transfer to a consumer (bypassing the stream's internal queues).
2733
+ *
2734
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)
2735
+ */
2344
2736
  export declare abstract class ReadableStreamBYOBRequest {
2345
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
2737
+ /**
2738
+ * The **`view`** getter property of the ReadableStreamBYOBRequest interface returns the current view.
2739
+ *
2740
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
2741
+ */
2346
2742
  get view(): Uint8Array | null;
2347
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond) */
2743
+ /**
2744
+ * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
2745
+ *
2746
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond)
2747
+ */
2348
2748
  respond(bytesWritten: number): void;
2349
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView) */
2749
+ /**
2750
+ * The **`respondWithNewView()`** method of the ReadableStreamBYOBRequest interface specifies a new view that the consumer of the associated readable byte stream should write to instead of ReadableStreamBYOBRequest.view.
2751
+ *
2752
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)
2753
+ */
2350
2754
  respondWithNewView(view: ArrayBuffer | ArrayBufferView): void;
2351
2755
  get atLeast(): number | null;
2352
2756
  }
2353
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController) */
2757
+ /**
2758
+ * The **`ReadableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue.
2759
+ *
2760
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)
2761
+ */
2354
2762
  export declare abstract class ReadableStreamDefaultController<R = any> {
2355
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
2763
+ /**
2764
+ * The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
2765
+ *
2766
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
2767
+ */
2356
2768
  get desiredSize(): number | null;
2357
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close) */
2769
+ /**
2770
+ * The **`close()`** method of the ReadableStreamDefaultController interface closes the associated stream.
2771
+ *
2772
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close)
2773
+ */
2358
2774
  close(): void;
2359
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue) */
2775
+ /**
2776
+ * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.
2777
+ *
2778
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
2779
+ */
2360
2780
  enqueue(chunk?: R): void;
2361
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */
2781
+ /**
2782
+ * The **`error()`** method of the with the associated stream to error.
2783
+ *
2784
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
2785
+ */
2362
2786
  error(reason: any): void;
2363
2787
  }
2364
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController) */
2788
+ /**
2789
+ * The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream.
2790
+ *
2791
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)
2792
+ */
2365
2793
  export declare abstract class ReadableByteStreamController {
2366
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
2794
+ /**
2795
+ * The **`byobRequest`** read-only property of the ReadableByteStreamController interface returns the current BYOB request, or `null` if there are no pending requests.
2796
+ *
2797
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest)
2798
+ */
2367
2799
  get byobRequest(): ReadableStreamBYOBRequest | null;
2368
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize) */
2800
+ /**
2801
+ * The **`desiredSize`** read-only property of the ReadableByteStreamController interface returns the number of bytes required to fill the stream's internal queue to its 'desired size'.
2802
+ *
2803
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize)
2804
+ */
2369
2805
  get desiredSize(): number | null;
2370
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close) */
2806
+ /**
2807
+ * The **`close()`** method of the ReadableByteStreamController interface closes the associated stream.
2808
+ *
2809
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close)
2810
+ */
2371
2811
  close(): void;
2372
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue) */
2812
+ /**
2813
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).
2814
+ *
2815
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
2816
+ */
2373
2817
  enqueue(chunk: ArrayBuffer | ArrayBufferView): void;
2374
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */
2818
+ /**
2819
+ * The **`error()`** method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error with the specified reason.
2820
+ *
2821
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error)
2822
+ */
2375
2823
  error(reason: any): void;
2376
2824
  }
2377
2825
  /**
2378
- * This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
2826
+ * The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream's state.
2379
2827
  *
2380
2828
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
2381
2829
  */
2382
2830
  export declare abstract class WritableStreamDefaultController {
2383
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal) */
2831
+ /**
2832
+ * The read-only **`signal`** property of the WritableStreamDefaultController interface returns the AbortSignal associated with the controller.
2833
+ *
2834
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal)
2835
+ */
2384
2836
  get signal(): AbortSignal;
2385
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
2837
+ /**
2838
+ * The **`error()`** method of the with the associated stream to error.
2839
+ *
2840
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
2841
+ */
2386
2842
  error(reason?: any): void;
2387
2843
  }
2388
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController) */
2844
+ /**
2845
+ * The **`TransformStreamDefaultController`** interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream.
2846
+ *
2847
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)
2848
+ */
2389
2849
  export declare abstract class TransformStreamDefaultController<O = any> {
2390
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
2850
+ /**
2851
+ * The **`desiredSize`** read-only property of the TransformStreamDefaultController interface returns the desired size to fill the queue of the associated ReadableStream.
2852
+ *
2853
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize)
2854
+ */
2391
2855
  get desiredSize(): number | null;
2392
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
2856
+ /**
2857
+ * The **`enqueue()`** method of the TransformStreamDefaultController interface enqueues the given chunk in the readable side of the stream.
2858
+ *
2859
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
2860
+ */
2393
2861
  enqueue(chunk?: O): void;
2394
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */
2862
+ /**
2863
+ * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream.
2864
+ *
2865
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error)
2866
+ */
2395
2867
  error(reason: any): void;
2396
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) */
2868
+ /**
2869
+ * The **`terminate()`** method of the TransformStreamDefaultController interface closes the readable side and errors the writable side of the stream.
2870
+ *
2871
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate)
2872
+ */
2397
2873
  terminate(): void;
2398
2874
  }
2399
2875
  export interface ReadableWritablePair<R = any, W = any> {
@@ -2406,7 +2882,7 @@ export interface ReadableWritablePair<R = any, W = any> {
2406
2882
  readable: ReadableStream<R>;
2407
2883
  }
2408
2884
  /**
2409
- * This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
2885
+ * The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
2410
2886
  *
2411
2887
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
2412
2888
  */
@@ -2415,47 +2891,103 @@ export declare class WritableStream<W = any> {
2415
2891
  underlyingSink?: UnderlyingSink,
2416
2892
  queuingStrategy?: QueuingStrategy,
2417
2893
  );
2418
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) */
2894
+ /**
2895
+ * The **`locked`** read-only property of the WritableStream interface returns a boolean indicating whether the `WritableStream` is locked to a writer.
2896
+ *
2897
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked)
2898
+ */
2419
2899
  get locked(): boolean;
2420
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */
2900
+ /**
2901
+ * The **`abort()`** method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
2902
+ *
2903
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort)
2904
+ */
2421
2905
  abort(reason?: any): Promise<void>;
2422
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) */
2906
+ /**
2907
+ * The **`close()`** method of the WritableStream interface closes the associated stream.
2908
+ *
2909
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close)
2910
+ */
2423
2911
  close(): Promise<void>;
2424
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter) */
2912
+ /**
2913
+ * The **`getWriter()`** method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance.
2914
+ *
2915
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter)
2916
+ */
2425
2917
  getWriter(): WritableStreamDefaultWriter<W>;
2426
2918
  }
2427
2919
  /**
2428
- * This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
2920
+ * The **`WritableStreamDefaultWriter`** interface of the Streams API is the object returned by WritableStream.getWriter() and once created locks the writer to the `WritableStream` ensuring that no other streams can write to the underlying sink.
2429
2921
  *
2430
2922
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
2431
2923
  */
2432
2924
  export declare class WritableStreamDefaultWriter<W = any> {
2433
2925
  constructor(stream: WritableStream);
2434
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) */
2926
+ /**
2927
+ * The **`closed`** read-only property of the the stream errors or the writer's lock is released.
2928
+ *
2929
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
2930
+ */
2435
2931
  get closed(): Promise<void>;
2436
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready) */
2932
+ /**
2933
+ * The **`ready`** read-only property of the that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
2934
+ *
2935
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
2936
+ */
2437
2937
  get ready(): Promise<void>;
2438
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize) */
2938
+ /**
2939
+ * The **`desiredSize`** read-only property of the to fill the stream's internal queue.
2940
+ *
2941
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
2942
+ */
2439
2943
  get desiredSize(): number | null;
2440
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */
2944
+ /**
2945
+ * The **`abort()`** method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
2946
+ *
2947
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
2948
+ */
2441
2949
  abort(reason?: any): Promise<void>;
2442
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) */
2950
+ /**
2951
+ * The **`close()`** method of the stream.
2952
+ *
2953
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
2954
+ */
2443
2955
  close(): Promise<void>;
2444
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write) */
2956
+ /**
2957
+ * The **`write()`** method of the operation.
2958
+ *
2959
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
2960
+ */
2445
2961
  write(chunk?: W): Promise<void>;
2446
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock) */
2962
+ /**
2963
+ * The **`releaseLock()`** method of the corresponding stream.
2964
+ *
2965
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
2966
+ */
2447
2967
  releaseLock(): void;
2448
2968
  }
2449
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream) */
2969
+ /**
2970
+ * The **`TransformStream`** interface of the Streams API represents a concrete implementation of the pipe chain _transform stream_ concept.
2971
+ *
2972
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)
2973
+ */
2450
2974
  export declare class TransformStream<I = any, O = any> {
2451
2975
  constructor(
2452
2976
  transformer?: Transformer<I, O>,
2453
2977
  writableStrategy?: QueuingStrategy<I>,
2454
2978
  readableStrategy?: QueuingStrategy<O>,
2455
2979
  );
2456
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
2980
+ /**
2981
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this `TransformStream`.
2982
+ *
2983
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
2984
+ */
2457
2985
  get readable(): ReadableStream<O>;
2458
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable) */
2986
+ /**
2987
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this `TransformStream`.
2988
+ *
2989
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
2990
+ */
2459
2991
  get writable(): WritableStream<I>;
2460
2992
  }
2461
2993
  export declare class FixedLengthStream extends IdentityTransformStream {
@@ -2476,21 +3008,33 @@ export interface IdentityTransformStreamQueuingStrategy {
2476
3008
  export interface ReadableStreamValuesOptions {
2477
3009
  preventCancel?: boolean;
2478
3010
  }
2479
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
3011
+ /**
3012
+ * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
3013
+ *
3014
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
3015
+ */
2480
3016
  export declare class CompressionStream extends TransformStream<
2481
3017
  ArrayBuffer | ArrayBufferView,
2482
3018
  Uint8Array
2483
3019
  > {
2484
3020
  constructor(format: "gzip" | "deflate" | "deflate-raw");
2485
3021
  }
2486
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
3022
+ /**
3023
+ * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3024
+ *
3025
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3026
+ */
2487
3027
  export declare class DecompressionStream extends TransformStream<
2488
3028
  ArrayBuffer | ArrayBufferView,
2489
3029
  Uint8Array
2490
3030
  > {
2491
3031
  constructor(format: "gzip" | "deflate" | "deflate-raw");
2492
3032
  }
2493
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream) */
3033
+ /**
3034
+ * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.
3035
+ *
3036
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
3037
+ */
2494
3038
  export declare class TextEncoderStream extends TransformStream<
2495
3039
  string,
2496
3040
  Uint8Array
@@ -2498,7 +3042,11 @@ export declare class TextEncoderStream extends TransformStream<
2498
3042
  constructor();
2499
3043
  get encoding(): string;
2500
3044
  }
2501
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream) */
3045
+ /**
3046
+ * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.
3047
+ *
3048
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
3049
+ */
2502
3050
  export declare class TextDecoderStream extends TransformStream<
2503
3051
  ArrayBuffer | ArrayBufferView,
2504
3052
  string
@@ -2513,7 +3061,7 @@ export interface TextDecoderStreamTextDecoderStreamInit {
2513
3061
  ignoreBOM?: boolean;
2514
3062
  }
2515
3063
  /**
2516
- * This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
3064
+ * The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
2517
3065
  *
2518
3066
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
2519
3067
  */
@@ -2521,19 +3069,27 @@ export declare class ByteLengthQueuingStrategy
2521
3069
  implements QueuingStrategy<ArrayBufferView>
2522
3070
  {
2523
3071
  constructor(init: QueuingStrategyInit);
2524
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark) */
3072
+ /**
3073
+ * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
3074
+ *
3075
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark)
3076
+ */
2525
3077
  get highWaterMark(): number;
2526
3078
  /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */
2527
3079
  get size(): (chunk?: any) => number;
2528
3080
  }
2529
3081
  /**
2530
- * This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
3082
+ * The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
2531
3083
  *
2532
3084
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
2533
3085
  */
2534
3086
  export declare class CountQueuingStrategy implements QueuingStrategy {
2535
3087
  constructor(init: QueuingStrategyInit);
2536
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark) */
3088
+ /**
3089
+ * The read-only **`CountQueuingStrategy.highWaterMark`** property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.
3090
+ *
3091
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark)
3092
+ */
2537
3093
  get highWaterMark(): number;
2538
3094
  /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */
2539
3095
  get size(): (chunk?: any) => number;
@@ -2666,113 +3222,233 @@ export interface UnsafeTraceMetrics {
2666
3222
  fromTrace(item: TraceItem): TraceMetrics;
2667
3223
  }
2668
3224
  /**
2669
- * The URL interface represents an object providing static methods used for creating object URLs.
3225
+ * The **`URL`** interface is used to parse, construct, normalize, and encode URL.
2670
3226
  *
2671
3227
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
2672
3228
  */
2673
3229
  export declare class URL {
2674
3230
  constructor(url: string | URL, base?: string | URL);
2675
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin) */
3231
+ /**
3232
+ * The **`origin`** read-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.
3233
+ *
3234
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin)
3235
+ */
2676
3236
  get origin(): string;
2677
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href) */
3237
+ /**
3238
+ * The **`href`** property of the URL interface is a string containing the whole URL.
3239
+ *
3240
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href)
3241
+ */
2678
3242
  get href(): string;
2679
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href) */
3243
+ /**
3244
+ * The **`href`** property of the URL interface is a string containing the whole URL.
3245
+ *
3246
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href)
3247
+ */
2680
3248
  set href(value: string);
2681
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol) */
3249
+ /**
3250
+ * The **`protocol`** property of the URL interface is a string containing the protocol or scheme of the URL, including the final `':'`.
3251
+ *
3252
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol)
3253
+ */
2682
3254
  get protocol(): string;
2683
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol) */
3255
+ /**
3256
+ * The **`protocol`** property of the URL interface is a string containing the protocol or scheme of the URL, including the final `':'`.
3257
+ *
3258
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol)
3259
+ */
2684
3260
  set protocol(value: string);
2685
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username) */
3261
+ /**
3262
+ * The **`username`** property of the URL interface is a string containing the username component of the URL.
3263
+ *
3264
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username)
3265
+ */
2686
3266
  get username(): string;
2687
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username) */
3267
+ /**
3268
+ * The **`username`** property of the URL interface is a string containing the username component of the URL.
3269
+ *
3270
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username)
3271
+ */
2688
3272
  set username(value: string);
2689
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password) */
3273
+ /**
3274
+ * The **`password`** property of the URL interface is a string containing the password component of the URL.
3275
+ *
3276
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password)
3277
+ */
2690
3278
  get password(): string;
2691
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password) */
3279
+ /**
3280
+ * The **`password`** property of the URL interface is a string containing the password component of the URL.
3281
+ *
3282
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password)
3283
+ */
2692
3284
  set password(value: string);
2693
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host) */
3285
+ /**
3286
+ * The **`host`** property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a `':'`, followed by the URL.port of the URL.
3287
+ *
3288
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host)
3289
+ */
2694
3290
  get host(): string;
2695
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host) */
3291
+ /**
3292
+ * The **`host`** property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a `':'`, followed by the URL.port of the URL.
3293
+ *
3294
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host)
3295
+ */
2696
3296
  set host(value: string);
2697
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname) */
3297
+ /**
3298
+ * The **`hostname`** property of the URL interface is a string containing either the domain name or IP address of the URL.
3299
+ *
3300
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname)
3301
+ */
2698
3302
  get hostname(): string;
2699
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname) */
3303
+ /**
3304
+ * The **`hostname`** property of the URL interface is a string containing either the domain name or IP address of the URL.
3305
+ *
3306
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname)
3307
+ */
2700
3308
  set hostname(value: string);
2701
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port) */
3309
+ /**
3310
+ * The **`port`** property of the URL interface is a string containing the port number of the URL.
3311
+ *
3312
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port)
3313
+ */
2702
3314
  get port(): string;
2703
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port) */
3315
+ /**
3316
+ * The **`port`** property of the URL interface is a string containing the port number of the URL.
3317
+ *
3318
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port)
3319
+ */
2704
3320
  set port(value: string);
2705
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname) */
3321
+ /**
3322
+ * The **`pathname`** property of the URL interface represents a location in a hierarchical structure.
3323
+ *
3324
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname)
3325
+ */
2706
3326
  get pathname(): string;
2707
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname) */
3327
+ /**
3328
+ * The **`pathname`** property of the URL interface represents a location in a hierarchical structure.
3329
+ *
3330
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname)
3331
+ */
2708
3332
  set pathname(value: string);
2709
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search) */
3333
+ /**
3334
+ * The **`search`** property of the URL interface is a search string, also called a _query string_, that is a string containing a `'?'` followed by the parameters of the URL.
3335
+ *
3336
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search)
3337
+ */
2710
3338
  get search(): string;
2711
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search) */
3339
+ /**
3340
+ * The **`search`** property of the URL interface is a search string, also called a _query string_, that is a string containing a `'?'` followed by the parameters of the URL.
3341
+ *
3342
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search)
3343
+ */
2712
3344
  set search(value: string);
2713
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash) */
3345
+ /**
3346
+ * The **`hash`** property of the URL interface is a string containing a `'#'` followed by the fragment identifier of the URL.
3347
+ *
3348
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash)
3349
+ */
2714
3350
  get hash(): string;
2715
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash) */
3351
+ /**
3352
+ * The **`hash`** property of the URL interface is a string containing a `'#'` followed by the fragment identifier of the URL.
3353
+ *
3354
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash)
3355
+ */
2716
3356
  set hash(value: string);
2717
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams) */
3357
+ /**
3358
+ * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
3359
+ *
3360
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
3361
+ */
2718
3362
  get searchParams(): URLSearchParams;
2719
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON) */
3363
+ /**
3364
+ * The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as ```js-nolint toJSON() ``` None.
3365
+ *
3366
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
3367
+ */
2720
3368
  toJSON(): string;
2721
3369
  /*function toString() { [native code] }*/
2722
3370
  toString(): string;
2723
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
3371
+ /**
3372
+ * The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.
3373
+ *
3374
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)
3375
+ */
2724
3376
  static canParse(url: string, base?: string): boolean;
2725
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
3377
+ /**
3378
+ * The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.
3379
+ *
3380
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)
3381
+ */
2726
3382
  static parse(url: string, base?: string): URL | null;
2727
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
3383
+ /**
3384
+ * The **`createObjectURL()`** static method of the URL interface creates a string containing a URL representing the object given in the parameter.
3385
+ *
3386
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
3387
+ */
2728
3388
  static createObjectURL(object: File | Blob): string;
2729
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
3389
+ /**
3390
+ * The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling Call this method when you've finished using an object URL to let the browser know not to keep the reference to the file any longer.
3391
+ *
3392
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
3393
+ */
2730
3394
  static revokeObjectURL(object_url: string): void;
2731
3395
  }
2732
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
3396
+ /**
3397
+ * The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
3398
+ *
3399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)
3400
+ */
2733
3401
  export declare class URLSearchParams {
2734
3402
  constructor(
2735
3403
  init?: Iterable<Iterable<string>> | Record<string, string> | string,
2736
3404
  );
2737
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
3405
+ /**
3406
+ * The **`size`** read-only property of the URLSearchParams interface indicates the total number of search parameter entries.
3407
+ *
3408
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size)
3409
+ */
2738
3410
  get size(): number;
2739
3411
  /**
2740
- * Appends a specified key/value pair as a new search parameter.
3412
+ * The **`append()`** method of the URLSearchParams interface appends a specified key/value pair as a new search parameter.
2741
3413
  *
2742
3414
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/append)
2743
3415
  */
2744
3416
  append(name: string, value: string): void;
2745
3417
  /**
2746
- * Deletes the given search parameter, and its associated value, from the list of all search parameters.
3418
+ * The **`delete()`** method of the URLSearchParams interface deletes specified parameters and their associated value(s) from the list of all search parameters.
2747
3419
  *
2748
3420
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)
2749
3421
  */
2750
3422
  delete(name: string, value?: string): void;
2751
3423
  /**
2752
- * Returns the first value associated to the given search parameter.
3424
+ * The **`get()`** method of the URLSearchParams interface returns the first value associated to the given search parameter.
2753
3425
  *
2754
3426
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/get)
2755
3427
  */
2756
3428
  get(name: string): string | null;
2757
3429
  /**
2758
- * Returns all the values association with a given search parameter.
3430
+ * The **`getAll()`** method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.
2759
3431
  *
2760
3432
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll)
2761
3433
  */
2762
3434
  getAll(name: string): string[];
2763
3435
  /**
2764
- * Returns a Boolean indicating if such a search parameter exists.
3436
+ * The **`has()`** method of the URLSearchParams interface returns a boolean value that indicates whether the specified parameter is in the search parameters.
2765
3437
  *
2766
3438
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)
2767
3439
  */
2768
3440
  has(name: string, value?: string): boolean;
2769
3441
  /**
2770
- * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
3442
+ * The **`set()`** method of the URLSearchParams interface sets the value associated with a given search parameter to the given value.
2771
3443
  *
2772
3444
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/set)
2773
3445
  */
2774
3446
  set(name: string, value: string): void;
2775
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort) */
3447
+ /**
3448
+ * The **`URLSearchParams.sort()`** method sorts all key/value pairs contained in this object in place and returns `undefined`.
3449
+ *
3450
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort)
3451
+ */
2776
3452
  sort(): void;
2777
3453
  /* Returns an array of key, value pairs for every entry in the search params. */
2778
3454
  entries(): IterableIterator<[key: string, value: string]>;
@@ -2789,7 +3465,7 @@ export declare class URLSearchParams {
2789
3465
  ) => void,
2790
3466
  thisArg?: This,
2791
3467
  ): void;
2792
- /*function toString() { [native code] } Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */
3468
+ /*function toString() { [native code] }*/
2793
3469
  toString(): string;
2794
3470
  [Symbol.iterator](): IterableIterator<[key: string, value: string]>;
2795
3471
  }
@@ -2844,26 +3520,26 @@ export interface URLPatternOptions {
2844
3520
  ignoreCase?: boolean;
2845
3521
  }
2846
3522
  /**
2847
- * A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
3523
+ * A `CloseEvent` is sent to clients using WebSockets when the connection is closed.
2848
3524
  *
2849
3525
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)
2850
3526
  */
2851
3527
  export declare class CloseEvent extends Event {
2852
3528
  constructor(type: string, initializer?: CloseEventInit);
2853
3529
  /**
2854
- * Returns the WebSocket connection close code provided by the server.
3530
+ * The **`code`** read-only property of the CloseEvent interface returns a WebSocket connection close code indicating the reason the connection was closed.
2855
3531
  *
2856
3532
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/code)
2857
3533
  */
2858
3534
  readonly code: number;
2859
3535
  /**
2860
- * Returns the WebSocket connection close reason provided by the server.
3536
+ * The **`reason`** read-only property of the CloseEvent interface returns the WebSocket connection close reason the server gave for closing the connection; that is, a concise human-readable prose explanation for the closure.
2861
3537
  *
2862
3538
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/reason)
2863
3539
  */
2864
3540
  readonly reason: string;
2865
3541
  /**
2866
- * Returns true if the connection closed cleanly; false otherwise.
3542
+ * The **`wasClean`** read-only property of the CloseEvent interface returns `true` if the connection closed cleanly.
2867
3543
  *
2868
3544
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/wasClean)
2869
3545
  */
@@ -2881,7 +3557,7 @@ export type WebSocketEventMap = {
2881
3557
  error: ErrorEvent;
2882
3558
  };
2883
3559
  /**
2884
- * Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
3560
+ * The `WebSocket` object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
2885
3561
  *
2886
3562
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
2887
3563
  */
@@ -2898,20 +3574,20 @@ export declare var WebSocket: {
2898
3574
  readonly CLOSED: number;
2899
3575
  };
2900
3576
  /**
2901
- * Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
3577
+ * The `WebSocket` object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
2902
3578
  *
2903
3579
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
2904
3580
  */
2905
3581
  export interface WebSocket extends EventTarget<WebSocketEventMap> {
2906
3582
  accept(): void;
2907
3583
  /**
2908
- * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.
3584
+ * The **`WebSocket.send()`** method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of `bufferedAmount` by the number of bytes needed to contain the data.
2909
3585
  *
2910
3586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
2911
3587
  */
2912
3588
  send(message: (ArrayBuffer | ArrayBufferView) | string): void;
2913
3589
  /**
2914
- * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.
3590
+ * The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing.
2915
3591
  *
2916
3592
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
2917
3593
  */
@@ -2919,25 +3595,25 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
2919
3595
  serializeAttachment(attachment: any): void;
2920
3596
  deserializeAttachment(): any | null;
2921
3597
  /**
2922
- * Returns the state of the WebSocket object's connection. It can have the values described below.
3598
+ * The **`WebSocket.readyState`** read-only property returns the current state of the WebSocket connection.
2923
3599
  *
2924
3600
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
2925
3601
  */
2926
3602
  readyState: number;
2927
3603
  /**
2928
- * Returns the URL that was used to establish the WebSocket connection.
3604
+ * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
2929
3605
  *
2930
3606
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/url)
2931
3607
  */
2932
3608
  url: string | null;
2933
3609
  /**
2934
- * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.
3610
+ * The **`WebSocket.protocol`** read-only property returns the name of the sub-protocol the server selected; this will be one of the strings specified in the `protocols` parameter when creating the WebSocket object, or the empty string if no connection is established.
2935
3611
  *
2936
3612
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/protocol)
2937
3613
  */
2938
3614
  protocol: string | null;
2939
3615
  /**
2940
- * Returns the extensions selected by the server, if any.
3616
+ * The **`WebSocket.extensions`** read-only property returns the extensions selected by the server.
2941
3617
  *
2942
3618
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
2943
3619
  */
@@ -3006,29 +3682,33 @@ export interface SocketInfo {
3006
3682
  remoteAddress?: string;
3007
3683
  localAddress?: string;
3008
3684
  }
3009
- /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource) */
3685
+ /**
3686
+ * The **`EventSource`** interface is web content's interface to server-sent events.
3687
+ *
3688
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource)
3689
+ */
3010
3690
  export declare class EventSource extends EventTarget {
3011
3691
  constructor(url: string, init?: EventSourceEventSourceInit);
3012
3692
  /**
3013
- * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.
3693
+ * The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the ```js-nolint close() ``` None.
3014
3694
  *
3015
3695
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
3016
3696
  */
3017
3697
  close(): void;
3018
3698
  /**
3019
- * Returns the URL providing the event stream.
3699
+ * The **`url`** read-only property of the URL of the source.
3020
3700
  *
3021
3701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
3022
3702
  */
3023
3703
  get url(): string;
3024
3704
  /**
3025
- * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.
3705
+ * The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
3026
3706
  *
3027
3707
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
3028
3708
  */
3029
3709
  get withCredentials(): boolean;
3030
3710
  /**
3031
- * Returns the state of this EventSource object's connection. It can have the values described below.
3711
+ * The **`readyState`** read-only property of the connection.
3032
3712
  *
3033
3713
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
3034
3714
  */
@@ -3061,22 +3741,22 @@ export interface Container {
3061
3741
  destroy(error?: any): Promise<void>;
3062
3742
  signal(signo: number): void;
3063
3743
  getTcpPort(port: number): Fetcher;
3744
+ setInactivityTimeout(durationMs: number | bigint): Promise<void>;
3064
3745
  }
3065
3746
  export interface ContainerStartupOptions {
3066
3747
  entrypoint?: string[];
3067
3748
  enableInternet: boolean;
3068
3749
  env?: Record<string, string>;
3750
+ hardTimeout?: number | bigint;
3069
3751
  }
3070
3752
  /**
3071
- * This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
3753
+ * The **`MessagePort`** interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
3072
3754
  *
3073
3755
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)
3074
3756
  */
3075
3757
  export declare abstract class MessagePort extends EventTarget {
3076
3758
  /**
3077
- * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
3078
- *
3079
- * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.
3759
+ * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
3080
3760
  *
3081
3761
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
3082
3762
  */
@@ -3085,13 +3765,13 @@ export declare abstract class MessagePort extends EventTarget {
3085
3765
  options?: any[] | MessagePortPostMessageOptions,
3086
3766
  ): void;
3087
3767
  /**
3088
- * Disconnects the port, so that it is no longer active.
3768
+ * The **`close()`** method of the MessagePort interface disconnects the port, so it is no longer active.
3089
3769
  *
3090
3770
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/close)
3091
3771
  */
3092
3772
  close(): void;
3093
3773
  /**
3094
- * Begins dispatching messages received on the port.
3774
+ * The **`start()`** method of the MessagePort interface starts the sending of messages queued on the port.
3095
3775
  *
3096
3776
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/start)
3097
3777
  */
@@ -3100,20 +3780,20 @@ export declare abstract class MessagePort extends EventTarget {
3100
3780
  set onmessage(value: any | null);
3101
3781
  }
3102
3782
  /**
3103
- * This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
3783
+ * The **`MessageChannel`** interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
3104
3784
  *
3105
3785
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)
3106
3786
  */
3107
3787
  export declare class MessageChannel {
3108
3788
  constructor();
3109
3789
  /**
3110
- * Returns the first MessagePort object.
3790
+ * The **`port1`** read-only property of the the port attached to the context that originated the channel.
3111
3791
  *
3112
3792
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
3113
3793
  */
3114
3794
  readonly port1: MessagePort;
3115
3795
  /**
3116
- * Returns the second MessagePort object.
3796
+ * The **`port2`** read-only property of the the port attached to the context at the other end of the channel, which the message is initially sent to.
3117
3797
  *
3118
3798
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
3119
3799
  */
@@ -3182,6 +3862,7 @@ export interface WorkerLoaderModule {
3182
3862
  data?: ArrayBuffer;
3183
3863
  json?: any;
3184
3864
  py?: string;
3865
+ wasm?: ArrayBuffer;
3185
3866
  }
3186
3867
  export interface WorkerLoaderWorkerCode {
3187
3868
  compatibilityDate: string;
@@ -6974,6 +7655,10 @@ export type AutoRagSearchRequest = {
6974
7655
  ranker?: string;
6975
7656
  score_threshold?: number;
6976
7657
  };
7658
+ reranking?: {
7659
+ enabled?: boolean;
7660
+ model?: string;
7661
+ };
6977
7662
  rewrite_query?: boolean;
6978
7663
  };
6979
7664
  export type AutoRagAiSearchRequest = AutoRagSearchRequest & {
@@ -8874,6 +9559,11 @@ export declare namespace CloudflareWorkersModule {
8874
9559
  constructor(ctx: ExecutionContext, env: Env);
8875
9560
  fetch?(request: Request): Response | Promise<Response>;
8876
9561
  tail?(events: TraceItem[]): void | Promise<void>;
9562
+ tailStream?(
9563
+ event: TailStream.TailEvent<TailStream.Onset>,
9564
+ ):
9565
+ | TailStream.TailEventHandlerType
9566
+ | Promise<TailStream.TailEventHandlerType>;
8877
9567
  trace?(traces: TraceItem[]): void | Promise<void>;
8878
9568
  scheduled?(controller: ScheduledController): void | Promise<void>;
8879
9569
  queue?(batch: MessageBatch<unknown>): void | Promise<void>;
@@ -9252,7 +9942,14 @@ export interface VectorizeError {
9252
9942
  *
9253
9943
  * This list is expected to grow as support for more operations are released.
9254
9944
  */
9255
- export type VectorizeVectorMetadataFilterOp = "$eq" | "$ne";
9945
+ export type VectorizeVectorMetadataFilterOp =
9946
+ | "$eq"
9947
+ | "$ne"
9948
+ | "$lt"
9949
+ | "$lte"
9950
+ | "$gt"
9951
+ | "$gte";
9952
+ export type VectorizeVectorMetadataFilterCollectionOp = "$in" | "$nin";
9256
9953
  /**
9257
9954
  * Filter criteria for vector metadata used to limit the retrieved query result set.
9258
9955
  */
@@ -9265,6 +9962,12 @@ export type VectorizeVectorMetadataFilter = {
9265
9962
  VectorizeVectorMetadataValue,
9266
9963
  string[]
9267
9964
  > | null;
9965
+ }
9966
+ | {
9967
+ [Op in VectorizeVectorMetadataFilterCollectionOp]?: Exclude<
9968
+ VectorizeVectorMetadataValue,
9969
+ string[]
9970
+ >[];
9268
9971
  };
9269
9972
  };
9270
9973
  /**