@types/web 0.0.245 → 0.0.247

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/ts5.5/index.d.ts CHANGED
@@ -379,6 +379,11 @@ interface ConstantSourceOptions {
379
379
  offset?: number;
380
380
  }
381
381
 
382
+ interface ConstrainBooleanOrDOMStringParameters {
383
+ exact?: boolean | string;
384
+ ideal?: boolean | string;
385
+ }
386
+
382
387
  interface ConstrainBooleanParameters {
383
388
  exact?: boolean;
384
389
  ideal?: boolean;
@@ -1116,7 +1121,7 @@ interface MediaTrackCapabilities {
1116
1121
  channelCount?: ULongRange;
1117
1122
  deviceId?: string;
1118
1123
  displaySurface?: string;
1119
- echoCancellation?: boolean[];
1124
+ echoCancellation?: (boolean | string)[];
1120
1125
  facingMode?: string[];
1121
1126
  frameRate?: DoubleRange;
1122
1127
  groupId?: string;
@@ -1134,7 +1139,7 @@ interface MediaTrackConstraintSet {
1134
1139
  channelCount?: ConstrainULong;
1135
1140
  deviceId?: ConstrainDOMString;
1136
1141
  displaySurface?: ConstrainDOMString;
1137
- echoCancellation?: ConstrainBoolean;
1142
+ echoCancellation?: ConstrainBooleanOrDOMString;
1138
1143
  facingMode?: ConstrainDOMString;
1139
1144
  frameRate?: ConstrainDouble;
1140
1145
  groupId?: ConstrainDOMString;
@@ -1156,7 +1161,7 @@ interface MediaTrackSettings {
1156
1161
  channelCount?: number;
1157
1162
  deviceId?: string;
1158
1163
  displaySurface?: string;
1159
- echoCancellation?: boolean;
1164
+ echoCancellation?: boolean | string;
1160
1165
  facingMode?: string;
1161
1166
  frameRate?: number;
1162
1167
  groupId?: string;
@@ -2016,6 +2021,15 @@ interface RegistrationOptions {
2016
2021
  updateViaCache?: ServiceWorkerUpdateViaCache;
2017
2022
  }
2018
2023
 
2024
+ interface Report {
2025
+ body?: ReportBody | null;
2026
+ type?: string;
2027
+ url?: string;
2028
+ }
2029
+
2030
+ interface ReportBody {
2031
+ }
2032
+
2019
2033
  interface ReportingObserverOptions {
2020
2034
  buffered?: boolean;
2021
2035
  types?: string[];
@@ -2113,6 +2127,11 @@ interface ScrollOptions {
2113
2127
  behavior?: ScrollBehavior;
2114
2128
  }
2115
2129
 
2130
+ interface ScrollTimelineOptions {
2131
+ axis?: ScrollAxis;
2132
+ source?: Element | null;
2133
+ }
2134
+
2116
2135
  interface ScrollToOptions extends ScrollOptions {
2117
2136
  left?: number;
2118
2137
  top?: number;
@@ -2135,7 +2154,7 @@ interface SecurityPolicyViolationEventInit extends EventInit {
2135
2154
 
2136
2155
  interface ShadowRootInit {
2137
2156
  clonable?: boolean;
2138
- customElementRegistry?: CustomElementRegistry;
2157
+ customElementRegistry?: CustomElementRegistry | null;
2139
2158
  delegatesFocus?: boolean;
2140
2159
  mode: ShadowRootMode;
2141
2160
  serializable?: boolean;
@@ -2149,6 +2168,16 @@ interface ShareData {
2149
2168
  url?: string;
2150
2169
  }
2151
2170
 
2171
+ interface SpeechRecognitionErrorEventInit extends EventInit {
2172
+ error: SpeechRecognitionErrorCode;
2173
+ message?: string;
2174
+ }
2175
+
2176
+ interface SpeechRecognitionEventInit extends EventInit {
2177
+ resultIndex?: number;
2178
+ results: SpeechRecognitionResultList;
2179
+ }
2180
+
2152
2181
  interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {
2153
2182
  error: SpeechSynthesisErrorCode;
2154
2183
  }
@@ -2295,6 +2324,39 @@ interface ULongRange {
2295
2324
  min?: number;
2296
2325
  }
2297
2326
 
2327
+ interface URLPatternComponentResult {
2328
+ groups?: Record<string, string | undefined>;
2329
+ input?: string;
2330
+ }
2331
+
2332
+ interface URLPatternInit {
2333
+ baseURL?: string;
2334
+ hash?: string;
2335
+ hostname?: string;
2336
+ password?: string;
2337
+ pathname?: string;
2338
+ port?: string;
2339
+ protocol?: string;
2340
+ search?: string;
2341
+ username?: string;
2342
+ }
2343
+
2344
+ interface URLPatternOptions {
2345
+ ignoreCase?: boolean;
2346
+ }
2347
+
2348
+ interface URLPatternResult {
2349
+ hash?: URLPatternComponentResult;
2350
+ hostname?: URLPatternComponentResult;
2351
+ inputs?: URLPatternInput[];
2352
+ password?: URLPatternComponentResult;
2353
+ pathname?: URLPatternComponentResult;
2354
+ port?: URLPatternComponentResult;
2355
+ protocol?: URLPatternComponentResult;
2356
+ search?: URLPatternComponentResult;
2357
+ username?: URLPatternComponentResult;
2358
+ }
2359
+
2298
2360
  interface UnderlyingByteSource {
2299
2361
  autoAllocateChunkSize?: number;
2300
2362
  cancel?: UnderlyingSourceCancelCallback;
@@ -2459,6 +2521,12 @@ interface VideoFrameInit {
2459
2521
  visibleRect?: DOMRectInit;
2460
2522
  }
2461
2523
 
2524
+ interface ViewTimelineOptions {
2525
+ axis?: ScrollAxis;
2526
+ inset?: string | (CSSNumericValue | CSSKeywordValue)[];
2527
+ subject?: Element;
2528
+ }
2529
+
2462
2530
  interface WaveShaperOptions extends AudioNodeOptions {
2463
2531
  curve?: number[] | Float32Array;
2464
2532
  oversample?: OverSampleType;
@@ -4546,91 +4614,6 @@ declare var CDATASection: {
4546
4614
  new(): CDATASection;
4547
4615
  };
4548
4616
 
4549
- /**
4550
- * The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report.
4551
- *
4552
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody)
4553
- */
4554
- interface CSPViolationReportBody extends ReportBody {
4555
- /**
4556
- * The **`blockedURL`** read-only property of the CSPViolationReportBody interface is a string value that represents the resource that was blocked because it violates a Content Security Policy (CSP).
4557
- *
4558
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL)
4559
- */
4560
- readonly blockedURL: string | null;
4561
- /**
4562
- * The **`columnNumber`** read-only property of the CSPViolationReportBody interface indicates the column number in the source file that triggered the Content Security Policy (CSP) violation.
4563
- *
4564
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber)
4565
- */
4566
- readonly columnNumber: number | null;
4567
- /**
4568
- * The **`disposition`** read-only property of the CSPViolationReportBody interface indicates whether the user agent is configured to enforce Content Security Policy (CSP) violations or only report them.
4569
- *
4570
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition)
4571
- */
4572
- readonly disposition: SecurityPolicyViolationEventDisposition;
4573
- /**
4574
- * The **`documentURL`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the document or worker that violated the Content Security Policy (CSP).
4575
- *
4576
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL)
4577
- */
4578
- readonly documentURL: string;
4579
- /**
4580
- * The **`effectiveDirective`** read-only property of the CSPViolationReportBody interface is a string that represents the effective Content Security Policy (CSP) directive that was violated.
4581
- *
4582
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective)
4583
- */
4584
- readonly effectiveDirective: string;
4585
- /**
4586
- * The **`lineNumber`** read-only property of the CSPViolationReportBody interface indicates the line number in the source file that triggered the Content Security Policy (CSP) violation.
4587
- *
4588
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber)
4589
- */
4590
- readonly lineNumber: number | null;
4591
- /**
4592
- * The **`originalPolicy`** read-only property of the CSPViolationReportBody interface is a string that represents the Content Security Policy (CSP) whose enforcement uncovered the violation.
4593
- *
4594
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy)
4595
- */
4596
- readonly originalPolicy: string;
4597
- /**
4598
- * The **`referrer`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the referring page of the resource who's Content Security Policy (CSP) was violated.
4599
- *
4600
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer)
4601
- */
4602
- readonly referrer: string | null;
4603
- /**
4604
- * The **`sample`** read-only property of the CSPViolationReportBody interface is a string that contains a part of the resource that violated the Content Security Policy (CSP).
4605
- *
4606
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample)
4607
- */
4608
- readonly sample: string | null;
4609
- /**
4610
- * The **`sourceFile`** read-only property of the CSPViolationReportBody interface indicates the URL of the source file that violated the Content Security Policy (CSP).
4611
- *
4612
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile)
4613
- */
4614
- readonly sourceFile: string | null;
4615
- /**
4616
- * The **`statusCode`** read-only property of the CSPViolationReportBody interface is a number representing the HTTP status code of the response to the request that triggered a Content Security Policy (CSP) violation (when loading a window or worker).
4617
- *
4618
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode)
4619
- */
4620
- readonly statusCode: number;
4621
- /**
4622
- * The **`toJSON()`** method of the CSPViolationReportBody interface is a _serializer_, which returns a JSON representation of the `CSPViolationReportBody` object.
4623
- *
4624
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON)
4625
- */
4626
- toJSON(): any;
4627
- }
4628
-
4629
- declare var CSPViolationReportBody: {
4630
- prototype: CSPViolationReportBody;
4631
- new(): CSPViolationReportBody;
4632
- };
4633
-
4634
4617
  /**
4635
4618
  * The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.
4636
4619
  *
@@ -4871,7 +4854,7 @@ interface CSSGroupingRule extends CSSRule {
4871
4854
  */
4872
4855
  deleteRule(index: number): void;
4873
4856
  /**
4874
- * The **`insertRule()`** method of the ```js-nolint insertRule(rule) insertRule(rule, index) ``` - `rule` - : A string - `index` [MISSING: optional_inline] - : An optional index at which to insert the rule; defaults to 0.
4857
+ * The **`insertRule()`** method of the ```js-nolint insertRule(rule) insertRule(rule, index) ``` - `rule` - : A string - `index` MISSING: optional_inline] - : An optional index at which to insert the rule; defaults to 0.
4875
4858
  *
4876
4859
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/insertRule)
4877
4860
  */
@@ -6384,6 +6367,8 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6384
6367
  fontVariantCaps: string;
6385
6368
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian) */
6386
6369
  fontVariantEastAsian: string;
6370
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji) */
6371
+ fontVariantEmoji: string;
6387
6372
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures) */
6388
6373
  fontVariantLigatures: string;
6389
6374
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric) */
@@ -8772,7 +8757,7 @@ declare var CustomElementRegistry: {
8772
8757
  };
8773
8758
 
8774
8759
  /**
8775
- * The **`CustomEvent`** interface represents events initialized by an application for any purpose.
8760
+ * The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
8776
8761
  *
8777
8762
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
8778
8763
  */
@@ -8906,7 +8891,7 @@ interface DOMImplementation {
8906
8891
  */
8907
8892
  createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;
8908
8893
  /**
8909
- * The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or ```js-nolint createDocumentType(qualifiedNameStr, publicId, systemId) ``` - `qualifiedNameStr` - : A string containing the qualified name, like `svg:svg`.
8894
+ * The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or ```js-nolint createDocumentType(name, publicId, systemId) ``` - `name` - : A string containing the name of the doctype, like `html`.
8910
8895
  *
8911
8896
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)
8912
8897
  */
@@ -10440,6 +10425,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10440
10425
  createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
10441
10426
  createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
10442
10427
  createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
10428
+ createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
10429
+ createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;
10443
10430
  createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
10444
10431
  createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
10445
10432
  createEvent(eventInterface: "StorageEvent"): StorageEvent;
@@ -13715,7 +13702,12 @@ interface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {
13715
13702
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement)
13716
13703
  */
13717
13704
  interface HTMLDListElement extends HTMLElement {
13718
- /** @deprecated */
13705
+ /**
13706
+ * The **`compact`** property of the HTMLDListElement interface indicates that spacing between list items should be reduced.
13707
+ * @deprecated
13708
+ *
13709
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact)
13710
+ */
13719
13711
  compact: boolean;
13720
13712
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
13721
13713
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -13809,6 +13801,12 @@ declare var HTMLDetailsElement: {
13809
13801
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement)
13810
13802
  */
13811
13803
  interface HTMLDialogElement extends HTMLElement {
13804
+ /**
13805
+ * The **`closedBy`** property of the A string; possible values are: - `any` - : The dialog can be dismissed with a light dismiss user action, a platform-specific user action, or a developer-specified mechanism.
13806
+ *
13807
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/closedBy)
13808
+ */
13809
+ closedBy: string;
13812
13810
  /**
13813
13811
  * The **`open`** property of the `open` HTML attribute, indicating whether the dialog is available for interaction.
13814
13812
  *
@@ -15059,7 +15057,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15059
15057
  */
15060
15058
  max: string;
15061
15059
  /**
15062
- * The **`maxLength`** property of the HTMLInputElement interface indicates the maximum number of characters (in UTF-16 code units) allowed to be entered for the value of the input element, and the maximum number of characters allowed for the value to be valid.
15060
+ * The **`maxLength`** property of the HTMLInputElement interface indicates the maximum number of characters (in UTF-16) allowed to be entered for the value of the input element, and the maximum number of characters allowed for the value to be valid.
15063
15061
  *
15064
15062
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
15065
15063
  */
@@ -15071,7 +15069,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15071
15069
  */
15072
15070
  min: string;
15073
15071
  /**
15074
- * The **`minLength`** property of the HTMLInputElement interface indicates the minimum number of characters (in UTF-16 code units) required for the value of the input element to be valid.
15072
+ * The **`minLength`** property of the HTMLInputElement interface indicates the minimum number of characters (in UTF-16) required for the value of the input element to be valid.
15075
15073
  *
15076
15074
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength)
15077
15075
  */
@@ -15193,7 +15191,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15193
15191
  */
15194
15192
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
15195
15193
  /**
15196
- * The **`HTMLInputElement.webkitdirectory`** is a property that reflects the `webkitdirectory` HTML attribute and indicates that the input element should let the user select directories instead of files.
15194
+ * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements should let the user select directories instead of files.
15197
15195
  *
15198
15196
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
15199
15197
  */
@@ -15836,7 +15834,12 @@ declare var HTMLMediaElement: {
15836
15834
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement)
15837
15835
  */
15838
15836
  interface HTMLMenuElement extends HTMLElement {
15839
- /** @deprecated */
15837
+ /**
15838
+ * The **`compact`** property of the HTMLMenuElement interface indicates that spacing between list items should be reduced.
15839
+ * @deprecated
15840
+ *
15841
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact)
15842
+ */
15840
15843
  compact: boolean;
15841
15844
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15842
15845
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -15991,7 +15994,12 @@ declare var HTMLModElement: {
15991
15994
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement)
15992
15995
  */
15993
15996
  interface HTMLOListElement extends HTMLElement {
15994
- /** @deprecated */
15997
+ /**
15998
+ * The **`compact`** property of the HTMLOListElement interface indicates that spacing between list items should be reduced.
15999
+ * @deprecated
16000
+ *
16001
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact)
16002
+ */
15995
16003
  compact: boolean;
15996
16004
  /**
15997
16005
  * The **`reversed`** property of the HTMLOListElement interface indicates order of a list.
@@ -17565,13 +17573,13 @@ interface HTMLTextAreaElement extends HTMLElement {
17565
17573
  */
17566
17574
  readonly labels: NodeListOf<HTMLLabelElement>;
17567
17575
  /**
17568
- * The **`maxLength`** property of the HTMLTextAreaElement interface indicates the maximum number of characters (in UTF-16 code units) allowed to be entered for the value of the textarea element, and the maximum number of characters allowed for the value to be valid.
17576
+ * The **`maxLength`** property of the HTMLTextAreaElement interface indicates the maximum number of characters (in UTF-16) allowed to be entered for the value of the textarea element, and the maximum number of characters allowed for the value to be valid.
17569
17577
  *
17570
17578
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength)
17571
17579
  */
17572
17580
  maxLength: number;
17573
17581
  /**
17574
- * The **`minLength`** property of the HTMLTextAreaElement interface indicates the minimum number of characters (in UTF-16 code units) required for the value of the textarea element to be valid.
17582
+ * The **`minLength`** property of the HTMLTextAreaElement interface indicates the minimum number of characters (in UTF-16) required for the value of the textarea element to be valid.
17575
17583
  *
17576
17584
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength)
17577
17585
  */
@@ -17625,7 +17633,7 @@ interface HTMLTextAreaElement extends HTMLElement {
17625
17633
  */
17626
17634
  selectionStart: number;
17627
17635
  /**
17628
- * The **`textLength`** read-only property of the HTMLTextAreaElement interface is a non-negative integer representing the number of characters, in UTF-16 code units, of the textarea element's value.
17636
+ * The **`textLength`** read-only property of the HTMLTextAreaElement interface is a non-negative integer representing the number of characters, in UTF-16, of the textarea element's value.
17629
17637
  *
17630
17638
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength)
17631
17639
  */
@@ -17833,7 +17841,12 @@ declare var HTMLTrackElement: {
17833
17841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement)
17834
17842
  */
17835
17843
  interface HTMLUListElement extends HTMLElement {
17836
- /** @deprecated */
17844
+ /**
17845
+ * The **`compact`** property of the HTMLUListElement interface indicates that spacing between list items should be reduced.
17846
+ * @deprecated
17847
+ *
17848
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact)
17849
+ */
17837
17850
  compact: boolean;
17838
17851
  /** @deprecated */
17839
17852
  type: string;
@@ -19186,44 +19199,49 @@ declare var InputEvent: {
19186
19199
  */
19187
19200
  interface IntersectionObserver {
19188
19201
  /**
19189
- * The IntersectionObserver interface's read-only **`root`** property identifies the Element or of the viewport for the element which is the observer's target.
19202
+ * The **`root`** read-only property of the IntersectionObserver interface identifies the Element or Document whose bounds are treated as the bounding box of the viewport for the element which is the observer's target.
19190
19203
  *
19191
19204
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/root)
19192
19205
  */
19193
19206
  readonly root: Element | Document | null;
19194
19207
  /**
19195
- * The IntersectionObserver interface's read-only **`rootMargin`** property is a string with syntax similar to that of the CSS margin property.
19208
+ * The **`rootMargin`** read-only property of the IntersectionObserver interface is a string with syntax similar to that of the CSS margin property.
19196
19209
  *
19197
19210
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
19198
19211
  */
19199
19212
  readonly rootMargin: string;
19213
+ /**
19214
+ * The **`scrollMargin`** read-only property of the IntersectionObserver interface adds a margin to all nested scroll container within the root element, including the root element if it is a scroll container.
19215
+ *
19216
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/scrollMargin)
19217
+ */
19200
19218
  readonly scrollMargin: string;
19201
19219
  /**
19202
- * The IntersectionObserver interface's read-only **`thresholds`** property returns the list of intersection thresholds that was specified when the observer was instantiated with only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.
19220
+ * The **`thresholds`** read-only property of the IntersectionObserver interface returns the list of intersection thresholds that was specified when the observer was instantiated with IntersectionObserver.IntersectionObserver.
19203
19221
  *
19204
19222
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/thresholds)
19205
19223
  */
19206
19224
  readonly thresholds: ReadonlyArray<number>;
19207
19225
  /**
19208
- * The IntersectionObserver method **`disconnect()`** stops watching all of its target elements for visibility changes.
19226
+ * The **`disconnect()`** method of the IntersectionObserver interface stops the observer watching all of its target elements for visibility changes.
19209
19227
  *
19210
19228
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/disconnect)
19211
19229
  */
19212
19230
  disconnect(): void;
19213
19231
  /**
19214
- * The IntersectionObserver method **`observe()`** adds an element to the set of target elements being watched by the `IntersectionObserver`.
19232
+ * The **`observe()`** method of the IntersectionObserver interface adds an element to the set of target elements being watched by the `IntersectionObserver`.
19215
19233
  *
19216
19234
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/observe)
19217
19235
  */
19218
19236
  observe(target: Element): void;
19219
19237
  /**
19220
- * The IntersectionObserver method **`takeRecords()`** returns an array of has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback.
19238
+ * The **`takeRecords()`** method of the IntersectionObserver interface returns an array of IntersectionObserverEntry objects, one for each targeted element which has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback.
19221
19239
  *
19222
19240
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/takeRecords)
19223
19241
  */
19224
19242
  takeRecords(): IntersectionObserverEntry[];
19225
19243
  /**
19226
- * The IntersectionObserver method **`unobserve()`** instructs the `IntersectionObserver` to stop observing the specified target element.
19244
+ * The **`unobserve()`** method of the IntersectionObserver interface instructs the `IntersectionObserver` to stop observing the specified target element.
19227
19245
  *
19228
19246
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/unobserve)
19229
19247
  */
@@ -19242,43 +19260,43 @@ declare var IntersectionObserver: {
19242
19260
  */
19243
19261
  interface IntersectionObserverEntry {
19244
19262
  /**
19245
- * The IntersectionObserverEntry interface's read-only **`boundingClientRect`** property returns a smallest rectangle that contains the entire target element.
19263
+ * The **`boundingClientRect`** read-only property of the IntersectionObserverEntry interface returns a DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element.
19246
19264
  *
19247
19265
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/boundingClientRect)
19248
19266
  */
19249
19267
  readonly boundingClientRect: DOMRectReadOnly;
19250
19268
  /**
19251
- * The IntersectionObserverEntry interface's read-only **`intersectionRatio`** property tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.
19269
+ * The **`intersectionRatio`** read-only property of the IntersectionObserverEntry interface tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.
19252
19270
  *
19253
19271
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/intersectionRatio)
19254
19272
  */
19255
19273
  readonly intersectionRatio: number;
19256
19274
  /**
19257
- * The IntersectionObserverEntry interface's read-only **`intersectionRect`** property is a contains the entire portion of the target element which is currently visible within the intersection root.
19275
+ * The **`intersectionRect`** read-only property of the IntersectionObserverEntry interface is a DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root.
19258
19276
  *
19259
19277
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/intersectionRect)
19260
19278
  */
19261
19279
  readonly intersectionRect: DOMRectReadOnly;
19262
19280
  /**
19263
- * The IntersectionObserverEntry interface's read-only **`isIntersecting`** property is a Boolean value which is `true` if the target element intersects with the intersection observer's root.
19281
+ * The **`isIntersecting`** read-only property of the IntersectionObserverEntry interface is a Boolean value which is `true` if the target element intersects with the intersection observer's root.
19264
19282
  *
19265
19283
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/isIntersecting)
19266
19284
  */
19267
19285
  readonly isIntersecting: boolean;
19268
19286
  /**
19269
- * The IntersectionObserverEntry interface's read-only **`rootBounds`** property is a rectangle, offset by the IntersectionObserver.rootMargin if one is specified.
19287
+ * The **`rootBounds`** read-only property of the IntersectionObserverEntry interface is a DOMRectReadOnly corresponding to the IntersectionObserverEntry.target's root intersection rectangle, offset by the IntersectionObserver.rootMargin if one is specified.
19270
19288
  *
19271
19289
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/rootBounds)
19272
19290
  */
19273
19291
  readonly rootBounds: DOMRectReadOnly | null;
19274
19292
  /**
19275
- * The IntersectionObserverEntry interface's read-only **`target`** property indicates which targeted root.
19293
+ * The **`target`** read-only property of the IntersectionObserverEntry interface indicates which targeted Element has changed its amount of intersection with the intersection root.
19276
19294
  *
19277
19295
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/target)
19278
19296
  */
19279
19297
  readonly target: Element;
19280
19298
  /**
19281
- * The IntersectionObserverEntry interface's read-only **`time`** property is a change occurred relative to the time at which the document was created.
19299
+ * The **`time`** read-only property of the IntersectionObserverEntry interface is a DOMHighResTimeStamp that indicates the time at which the intersection change occurred relative to the time at which the document was created.
19282
19300
  *
19283
19301
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/time)
19284
19302
  */
@@ -23612,13 +23630,13 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming {
23612
23630
  */
23613
23631
  readonly type: NavigationTimingType;
23614
23632
  /**
23615
- * The **`unloadEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the current document's `unload` event handler completes.
23633
+ * The **`unloadEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the previous document's `unload` event handler completes.
23616
23634
  *
23617
23635
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)
23618
23636
  */
23619
23637
  readonly unloadEventEnd: DOMHighResTimeStamp;
23620
23638
  /**
23621
- * The **`unloadEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the current document's `unload` event handler starts.
23639
+ * The **`unloadEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the previous document's `unload` event handler starts.
23622
23640
  *
23623
23641
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)
23624
23642
  */
@@ -24274,6 +24292,12 @@ interface PointerEvent extends MouseEvent {
24274
24292
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary)
24275
24293
  */
24276
24294
  readonly isPrimary: boolean;
24295
+ /**
24296
+ * The **`persistentDeviceId`** read-only property of the PointerEvent interface is a unique identifier for the pointing device generating the `PointerEvent`.
24297
+ *
24298
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/persistentDeviceId)
24299
+ */
24300
+ readonly persistentDeviceId: number;
24277
24301
  /**
24278
24302
  * The **`pointerId`** read-only property of the event.
24279
24303
  *
@@ -26255,57 +26279,6 @@ declare var RemotePlayback: {
26255
26279
  new(): RemotePlayback;
26256
26280
  };
26257
26281
 
26258
- /**
26259
- * The `Report` interface of the Reporting API represents a single report.
26260
- *
26261
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
26262
- */
26263
- interface Report {
26264
- /**
26265
- * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
26266
- *
26267
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
26268
- */
26269
- readonly body: ReportBody | null;
26270
- /**
26271
- * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
26272
- *
26273
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
26274
- */
26275
- readonly type: string;
26276
- /**
26277
- * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
26278
- *
26279
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
26280
- */
26281
- readonly url: string;
26282
- toJSON(): any;
26283
- }
26284
-
26285
- declare var Report: {
26286
- prototype: Report;
26287
- new(): Report;
26288
- };
26289
-
26290
- /**
26291
- * The **`ReportBody`** interface of the Reporting API represents the body of a report.
26292
- *
26293
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
26294
- */
26295
- interface ReportBody {
26296
- /**
26297
- * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
26298
- *
26299
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
26300
- */
26301
- toJSON(): any;
26302
- }
26303
-
26304
- declare var ReportBody: {
26305
- prototype: ReportBody;
26306
- new(): ReportBody;
26307
- };
26308
-
26309
26282
  /**
26310
26283
  * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
26311
26284
  *
@@ -30498,6 +30471,31 @@ declare var ScriptProcessorNode: {
30498
30471
  new(): ScriptProcessorNode;
30499
30472
  };
30500
30473
 
30474
+ /**
30475
+ * The **`ScrollTimeline`** interface of the Web Animations API represents a scroll progress timeline (see CSS scroll-driven animations for more details).
30476
+ *
30477
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline)
30478
+ */
30479
+ interface ScrollTimeline extends AnimationTimeline {
30480
+ /**
30481
+ * The **`axis`** read-only property of the An enumerated value.
30482
+ *
30483
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/axis)
30484
+ */
30485
+ readonly axis: ScrollAxis;
30486
+ /**
30487
+ * The **`source`** read-only property of the An Element.
30488
+ *
30489
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScrollTimeline/source)
30490
+ */
30491
+ readonly source: Element | null;
30492
+ }
30493
+
30494
+ declare var ScrollTimeline: {
30495
+ prototype: ScrollTimeline;
30496
+ new(options?: ScrollTimelineOptions): ScrollTimeline;
30497
+ };
30498
+
30501
30499
  /**
30502
30500
  * The **`SecurityPolicyViolationEvent`** interface inherits from Event, and represents the event object of a `securitypolicyviolation` event sent on an Element/securitypolicyviolation_event, Document/securitypolicyviolation_event, or WorkerGlobalScope/securitypolicyviolation_event when its Content Security Policy (CSP) is violated.
30503
30501
  *
@@ -30798,7 +30796,7 @@ interface ServiceWorkerContainerEventMap {
30798
30796
  */
30799
30797
  interface ServiceWorkerContainer extends EventTarget {
30800
30798
  /**
30801
- * The **`controller`** read-only property of the ServiceWorkerContainer interface returns a `activated` (the same object returned by `null` if the request is a force refresh (_Shift_ + refresh) or if there is no active worker.
30799
+ * The **`controller`** read-only property of the ServiceWorkerContainer interface represents the active ServiceWorker controlling the current page (associated with this `ServiceWorkerContainer`), or `null` if the page has no active or activating service worker.
30802
30800
  *
30803
30801
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
30804
30802
  */
@@ -30975,7 +30973,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30975
30973
  */
30976
30974
  readonly host: Element;
30977
30975
  /**
30978
- * The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
30976
+ * The **`innerHTML`** property of the ShadowRoot interface gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
30979
30977
  *
30980
30978
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
30981
30979
  */
@@ -31197,6 +31195,58 @@ declare var SpeechRecognitionAlternative: {
31197
31195
  new(): SpeechRecognitionAlternative;
31198
31196
  };
31199
31197
 
31198
+ /**
31199
+ * The **`SpeechRecognitionErrorEvent`** interface of the Web Speech API represents error messages from the recognition service.
31200
+ * Available only in secure contexts.
31201
+ *
31202
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent)
31203
+ */
31204
+ interface SpeechRecognitionErrorEvent extends Event {
31205
+ /**
31206
+ * The **`error`** read-only property of the A string naming the type of error.
31207
+ *
31208
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/error)
31209
+ */
31210
+ readonly error: SpeechRecognitionErrorCode;
31211
+ /**
31212
+ * The **`message`** read-only property of the error in more detail.
31213
+ *
31214
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionErrorEvent/message)
31215
+ */
31216
+ readonly message: string;
31217
+ }
31218
+
31219
+ declare var SpeechRecognitionErrorEvent: {
31220
+ prototype: SpeechRecognitionErrorEvent;
31221
+ new(type: string, eventInitDict: SpeechRecognitionErrorEventInit): SpeechRecognitionErrorEvent;
31222
+ };
31223
+
31224
+ /**
31225
+ * The **`SpeechRecognitionEvent`** interface of the Web Speech API represents the event object for the SpeechRecognition.result_event and SpeechRecognition.nomatch_event events, and contains all the data associated with an interim or final speech recognition result.
31226
+ * Available only in secure contexts.
31227
+ *
31228
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent)
31229
+ */
31230
+ interface SpeechRecognitionEvent extends Event {
31231
+ /**
31232
+ * The **`resultIndex`** read-only property of the the SpeechRecognitionResultList 'array' that has actually changed.
31233
+ *
31234
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/resultIndex)
31235
+ */
31236
+ readonly resultIndex: number;
31237
+ /**
31238
+ * The **`results`** read-only property of the recognition results for the current session.
31239
+ *
31240
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionEvent/results)
31241
+ */
31242
+ readonly results: SpeechRecognitionResultList;
31243
+ }
31244
+
31245
+ declare var SpeechRecognitionEvent: {
31246
+ prototype: SpeechRecognitionEvent;
31247
+ new(type: string, eventInitDict: SpeechRecognitionEventInit): SpeechRecognitionEvent;
31248
+ };
31249
+
31200
31250
  /**
31201
31251
  * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
31202
31252
  * Available only in secure contexts.
@@ -31979,7 +32029,7 @@ declare var Text: {
31979
32029
  };
31980
32030
 
31981
32031
  /**
31982
- * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
32032
+ * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
31983
32033
  *
31984
32034
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
31985
32035
  */
@@ -32034,19 +32084,19 @@ declare var TextDecoderStream: {
32034
32084
  };
32035
32085
 
32036
32086
  /**
32037
- * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
32087
+ * The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
32038
32088
  *
32039
32089
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
32040
32090
  */
32041
32091
  interface TextEncoder extends TextEncoderCommon {
32042
32092
  /**
32043
- * 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.
32093
+ * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
32044
32094
  *
32045
32095
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
32046
32096
  */
32047
32097
  encode(input?: string): Uint8Array;
32048
32098
  /**
32049
- * 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.
32099
+ * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
32050
32100
  *
32051
32101
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
32052
32102
  */
@@ -32974,6 +33024,86 @@ declare var URL: {
32974
33024
  type webkitURL = URL;
32975
33025
  declare var webkitURL: typeof URL;
32976
33026
 
33027
+ /**
33028
+ * The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
33029
+ *
33030
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
33031
+ */
33032
+ interface URLPattern {
33033
+ /**
33034
+ * The **`hasRegExpGroups`** read-only property of the URLPattern interface is a boolean indicating whether or not any of the `URLPattern` components contain regular expression capturing groups.
33035
+ *
33036
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hasRegExpGroups)
33037
+ */
33038
+ readonly hasRegExpGroups: boolean;
33039
+ /**
33040
+ * The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
33041
+ *
33042
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
33043
+ */
33044
+ readonly hash: string;
33045
+ /**
33046
+ * The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
33047
+ *
33048
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
33049
+ */
33050
+ readonly hostname: string;
33051
+ /**
33052
+ * The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
33053
+ *
33054
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
33055
+ */
33056
+ readonly password: string;
33057
+ /**
33058
+ * The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
33059
+ *
33060
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
33061
+ */
33062
+ readonly pathname: string;
33063
+ /**
33064
+ * The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
33065
+ *
33066
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
33067
+ */
33068
+ readonly port: string;
33069
+ /**
33070
+ * The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
33071
+ *
33072
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
33073
+ */
33074
+ readonly protocol: string;
33075
+ /**
33076
+ * The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
33077
+ *
33078
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
33079
+ */
33080
+ readonly search: string;
33081
+ /**
33082
+ * The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
33083
+ *
33084
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
33085
+ */
33086
+ readonly username: string;
33087
+ /**
33088
+ * The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
33089
+ *
33090
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
33091
+ */
33092
+ exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
33093
+ /**
33094
+ * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33095
+ *
33096
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
33097
+ */
33098
+ test(input?: URLPatternInput, baseURL?: string | URL): boolean;
33099
+ }
33100
+
33101
+ declare var URLPattern: {
33102
+ prototype: URLPattern;
33103
+ new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
33104
+ new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
33105
+ };
33106
+
32977
33107
  /**
32978
33108
  * The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
32979
33109
  *
@@ -33568,6 +33698,37 @@ declare var VideoPlaybackQuality: {
33568
33698
  new(): VideoPlaybackQuality;
33569
33699
  };
33570
33700
 
33701
+ /**
33702
+ * The **`ViewTimeline`** interface of the Web Animations API represents a view progress timeline (see CSS scroll-driven animations for more details).
33703
+ *
33704
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline)
33705
+ */
33706
+ interface ViewTimeline extends ScrollTimeline {
33707
+ /**
33708
+ * The **`endOffset`** read-only property of the ViewTimeline interface returns a CSSNumericValue representing the ending (100% progress) scroll position of the timeline as an offset from the start of the overflowing section of content in the scroller.
33709
+ *
33710
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline/endOffset)
33711
+ */
33712
+ readonly endOffset: CSSNumericValue;
33713
+ /**
33714
+ * The **`startOffset`** read-only property of the ViewTimeline interface returns a CSSNumericValue representing the starting (0% progress) scroll position of the timeline as an offset from the start of the overflowing section of content in the scroller.
33715
+ *
33716
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline/startOffset)
33717
+ */
33718
+ readonly startOffset: CSSNumericValue;
33719
+ /**
33720
+ * The **`subject`** read-only property of the ViewTimeline interface returns a reference to the subject element whose visibility within its nearest ancestor scrollable element (scroller) is driving the progress of the timeline.
33721
+ *
33722
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTimeline/subject)
33723
+ */
33724
+ readonly subject: Element;
33725
+ }
33726
+
33727
+ declare var ViewTimeline: {
33728
+ prototype: ViewTimeline;
33729
+ new(options?: ViewTimelineOptions): ViewTimeline;
33730
+ };
33731
+
33571
33732
  /**
33572
33733
  * The **`ViewTransition`** interface of the View Transition API represents an active view transition, and provides functionality to react to the transition reaching different states (e.g., ready to run the animation, or animation finished) or skip the transition altogether.
33573
33734
  *
@@ -39398,6 +39559,7 @@ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasEl
39398
39559
  type ClipboardItemData = Promise<string | Blob>;
39399
39560
  type ClipboardItems = ClipboardItem[];
39400
39561
  type ConstrainBoolean = boolean | ConstrainBooleanParameters;
39562
+ type ConstrainBooleanOrDOMString = boolean | string | ConstrainBooleanOrDOMStringParameters;
39401
39563
  type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
39402
39564
  type ConstrainDouble = number | ConstrainDoubleRange;
39403
39565
  type ConstrainULong = number | ConstrainULongRange;
@@ -39452,6 +39614,7 @@ type RequestInfo = Request | string;
39452
39614
  type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
39453
39615
  type TimerHandler = string | Function;
39454
39616
  type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
39617
+ type URLPatternInput = string | URLPatternInit;
39455
39618
  type Uint32List = Uint32Array | GLuint[];
39456
39619
  type VibratePattern = number | number[];
39457
39620
  type WindowProxy = Window;
@@ -39621,6 +39784,7 @@ type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
39621
39784
  type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
39622
39785
  type ResizeQuality = "high" | "low" | "medium" | "pixelated";
39623
39786
  type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
39787
+ type ScrollAxis = "block" | "inline" | "x" | "y";
39624
39788
  type ScrollBehavior = "auto" | "instant" | "smooth";
39625
39789
  type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
39626
39790
  type ScrollRestoration = "auto" | "manual";
@@ -39631,6 +39795,7 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing
39631
39795
  type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
39632
39796
  type ShadowRootMode = "closed" | "open";
39633
39797
  type SlotAssignmentMode = "manual" | "named";
39798
+ type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "phrases-not-supported" | "service-not-allowed";
39634
39799
  type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";
39635
39800
  type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
39636
39801
  type TextTrackMode = "disabled" | "hidden" | "showing";