@types/web 0.0.297 → 0.0.298

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
@@ -947,12 +947,12 @@ interface KeySystemTrackConfiguration {
947
947
  }
948
948
 
949
949
  interface KeyboardEventInit extends EventModifierInit {
950
- /** @deprecated */
950
+ /** @deprecated `charCode` is inconsistent across environments, consider using `key` instead. */
951
951
  charCode?: number;
952
952
  code?: string;
953
953
  isComposing?: boolean;
954
954
  key?: string;
955
- /** @deprecated */
955
+ /** @deprecated `keyCode` is inconsistent across environments, consider using `key` instead. */
956
956
  keyCode?: number;
957
957
  location?: number;
958
958
  repeat?: boolean;
@@ -1257,11 +1257,59 @@ interface MutationObserverInit {
1257
1257
  subtree?: boolean;
1258
1258
  }
1259
1259
 
1260
+ interface NavigateEventInit extends EventInit {
1261
+ canIntercept?: boolean;
1262
+ destination: NavigationDestination;
1263
+ downloadRequest?: string | null;
1264
+ formData?: FormData | null;
1265
+ hasUAVisualTransition?: boolean;
1266
+ hashChange?: boolean;
1267
+ info?: any;
1268
+ navigationType?: NavigationType;
1269
+ signal: AbortSignal;
1270
+ sourceElement?: Element | null;
1271
+ userInitiated?: boolean;
1272
+ }
1273
+
1274
+ interface NavigationCurrentEntryChangeEventInit extends EventInit {
1275
+ from: NavigationHistoryEntry;
1276
+ navigationType?: NavigationType | null;
1277
+ }
1278
+
1279
+ interface NavigationInterceptOptions {
1280
+ focusReset?: NavigationFocusReset;
1281
+ handler?: NavigationInterceptHandler;
1282
+ precommitHandler?: NavigationPrecommitHandler;
1283
+ scroll?: NavigationScrollBehavior;
1284
+ }
1285
+
1286
+ interface NavigationNavigateOptions extends NavigationOptions {
1287
+ history?: NavigationHistoryBehavior;
1288
+ state?: any;
1289
+ }
1290
+
1291
+ interface NavigationOptions {
1292
+ info?: any;
1293
+ }
1294
+
1260
1295
  interface NavigationPreloadState {
1261
1296
  enabled?: boolean;
1262
1297
  headerValue?: string;
1263
1298
  }
1264
1299
 
1300
+ interface NavigationReloadOptions extends NavigationOptions {
1301
+ state?: any;
1302
+ }
1303
+
1304
+ interface NavigationResult {
1305
+ committed?: Promise<NavigationHistoryEntry>;
1306
+ finished?: Promise<NavigationHistoryEntry>;
1307
+ }
1308
+
1309
+ interface NavigationUpdateCurrentEntryOptions {
1310
+ state: any;
1311
+ }
1312
+
1265
1313
  interface NotificationOptions {
1266
1314
  badge?: string;
1267
1315
  body?: string;
@@ -6975,6 +7023,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6975
7023
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/empty-cells)
6976
7024
  */
6977
7025
  emptyCells: string;
7026
+ /**
7027
+ * The field-sizing CSS property enables you to control the sizing behavior of elements that are given a default preferred size, such as form control elements. This property enables you to override the default sizing behavior, allowing form controls to adjust in size to fit their contents.
7028
+ *
7029
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/field-sizing)
7030
+ */
7031
+ fieldSizing: string;
6978
7032
  /**
6979
7033
  * The **`fill`** CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute.
6980
7034
  *
@@ -8043,6 +8097,12 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
8043
8097
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-try-order)
8044
8098
  */
8045
8099
  positionTryOrder: string;
8100
+ /**
8101
+ * The position-visibility CSS property enables conditionally hiding an anchor-positioned element depending on, for example, whether it is overflowing its containing element or the viewport.
8102
+ *
8103
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-visibility)
8104
+ */
8105
+ positionVisibility: string;
8046
8106
  /**
8047
8107
  * The print-color-adjust CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.
8048
8108
  *
@@ -9188,7 +9248,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
9188
9248
  */
9189
9249
  wordSpacing: string;
9190
9250
  /**
9191
- * @deprecated
9251
+ * @deprecated `word-wrap` is a legacy alias of `overflow-wrap`.
9192
9252
  *
9193
9253
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-wrap)
9194
9254
  */
@@ -11981,6 +12041,12 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
11981
12041
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/URL)
11982
12042
  */
11983
12043
  readonly URL: string;
12044
+ /**
12045
+ * The **`activeViewTransition`** read-only property of the Document interface returns a ViewTransition instance representing the view transition currently active on the document.
12046
+ *
12047
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeViewTransition)
12048
+ */
12049
+ readonly activeViewTransition: ViewTransition | null;
11984
12050
  /**
11985
12051
  * Returns or sets the color of an active link in the document body. A link is active during the time between mousedown and mouseup events.
11986
12052
  * @deprecated
@@ -12400,6 +12466,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12400
12466
  createEvent(eventInterface: "MessageEvent"): MessageEvent;
12401
12467
  createEvent(eventInterface: "MouseEvent"): MouseEvent;
12402
12468
  createEvent(eventInterface: "MouseEvents"): MouseEvent;
12469
+ createEvent(eventInterface: "NavigateEvent"): NavigateEvent;
12470
+ createEvent(eventInterface: "NavigationCurrentEntryChangeEvent"): NavigationCurrentEntryChangeEvent;
12403
12471
  createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
12404
12472
  createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent;
12405
12473
  createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent;
@@ -21523,7 +21591,7 @@ declare var KeyframeEffect: {
21523
21591
  *
21524
21592
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint)
21525
21593
  */
21526
- interface LargestContentfulPaint extends PerformanceEntry {
21594
+ interface LargestContentfulPaint extends PerformanceEntry, PaintTimingMixin {
21527
21595
  /**
21528
21596
  * The **`element`** read-only property of the LargestContentfulPaint interface returns an object representing the Element that is the largest contentful paint.
21529
21597
  *
@@ -23538,6 +23606,182 @@ declare var NamedNodeMap: {
23538
23606
  new(): NamedNodeMap;
23539
23607
  };
23540
23608
 
23609
+ /**
23610
+ * The **`NavigateEvent`** interface of the Navigation API is the event object for the navigate event, which fires when any type of navigation is initiated (this includes usage of History API features like History.go()). NavigateEvent provides access to information about that navigation, and allows developers to intercept and control the navigation handling.
23611
+ *
23612
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent)
23613
+ */
23614
+ interface NavigateEvent extends Event {
23615
+ /**
23616
+ * The **`canIntercept`** read-only property of the NavigateEvent interface returns true if the navigation can be intercepted and have its URL rewritten, or false otherwise
23617
+ *
23618
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/canIntercept)
23619
+ */
23620
+ readonly canIntercept: boolean;
23621
+ /**
23622
+ * The **`destination`** read-only property of the NavigateEvent interface returns a NavigationDestination object representing the destination being navigated to.
23623
+ *
23624
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/destination)
23625
+ */
23626
+ readonly destination: NavigationDestination;
23627
+ /**
23628
+ * The **`downloadRequest`** read-only property of the NavigateEvent interface returns the filename of the file requested for download, in the case of a download navigation (e.g., an <a> or <area> element with a download attribute), or null otherwise.
23629
+ *
23630
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/downloadRequest)
23631
+ */
23632
+ readonly downloadRequest: string | null;
23633
+ /**
23634
+ * The **`formData`** read-only property of the NavigateEvent interface returns the FormData object representing the submitted data in the case of a POST form submission, or null otherwise.
23635
+ *
23636
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/formData)
23637
+ */
23638
+ readonly formData: FormData | null;
23639
+ /**
23640
+ * The **`hasUAVisualTransition`** read-only property of the NavigateEvent interface returns true if the user agent performed a visual transition for this navigation before dispatching this event, or false otherwise.
23641
+ *
23642
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/hasUAVisualTransition)
23643
+ */
23644
+ readonly hasUAVisualTransition: boolean;
23645
+ /**
23646
+ * The **`hashChange`** read-only property of the NavigateEvent interface returns true if the navigation is a fragment navigation (i.e., to a fragment identifier in the same document), or false otherwise.
23647
+ *
23648
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/hashChange)
23649
+ */
23650
+ readonly hashChange: boolean;
23651
+ /**
23652
+ * The **`info`** read-only property of the NavigateEvent interface returns the info data value passed by the initiating navigation operation (e.g., Navigation.back(), or Navigation.navigate()), or undefined if no info data was passed.
23653
+ *
23654
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/info)
23655
+ */
23656
+ readonly info: any;
23657
+ /**
23658
+ * The **`navigationType`** read-only property of the NavigateEvent interface returns the type of the navigation — push, reload, replace, or traverse.
23659
+ *
23660
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/navigationType)
23661
+ */
23662
+ readonly navigationType: NavigationType;
23663
+ /**
23664
+ * The **`signal`** read-only property of the NavigateEvent interface returns an AbortSignal, which will become aborted if the navigation is cancelled (e.g., by the user pressing the browser's "Stop" button, or another navigation starting and thus cancelling the ongoing one).
23665
+ *
23666
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/signal)
23667
+ */
23668
+ readonly signal: AbortSignal;
23669
+ /**
23670
+ * The **`sourceElement`** read-only property of the NavigateEvent interface returns an Element object representing the initiating element, in cases where the navigation was initiated by an element.
23671
+ *
23672
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/sourceElement)
23673
+ */
23674
+ readonly sourceElement: Element | null;
23675
+ /**
23676
+ * The **`userInitiated`** read-only property of the NavigateEvent interface returns true if the navigation was initiated by the user (e.g., by clicking a link, submitting a form, or pressing the browser's "Back"/"Forward" buttons), or false otherwise.
23677
+ *
23678
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/userInitiated)
23679
+ */
23680
+ readonly userInitiated: boolean;
23681
+ /**
23682
+ * The **`intercept()`** method of the NavigateEvent interface intercepts this navigation, turning it into a same-document navigation to the destination URL.
23683
+ *
23684
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/intercept)
23685
+ */
23686
+ intercept(options?: NavigationInterceptOptions): void;
23687
+ /**
23688
+ * The **`scroll()`** method of the NavigateEvent interface can be called to manually trigger the browser-driven scrolling behavior that occurs in response to the navigation, if you want it to happen before the navigation handling has completed.
23689
+ *
23690
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigateEvent/scroll)
23691
+ */
23692
+ scroll(): void;
23693
+ }
23694
+
23695
+ declare var NavigateEvent: {
23696
+ prototype: NavigateEvent;
23697
+ new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
23698
+ };
23699
+
23700
+ /**
23701
+ * The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
23702
+ *
23703
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation)
23704
+ */
23705
+ interface Navigation extends EventTarget {
23706
+ /**
23707
+ * The **`activation`** read-only property of the Navigation interface returns a NavigationActivation object containing information about the most recent cross-document navigation, which "activated" this Document. The property will stay constant during same-document navigations.
23708
+ *
23709
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/activation)
23710
+ */
23711
+ readonly activation: NavigationActivation | null;
23712
+ /**
23713
+ * The **`canGoBack`** read-only property of the Navigation interface returns true if it is possible to navigate backwards in the navigation history (i.e., the currentEntry is not the first one in the history entry list), and false if it is not.
23714
+ *
23715
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/canGoBack)
23716
+ */
23717
+ readonly canGoBack: boolean;
23718
+ /**
23719
+ * The **`canGoForward`** read-only property of the Navigation interface returns true if it is possible to navigate forwards in the navigation history (i.e., the currentEntry is not the last one in the history entry list), and false if it is not.
23720
+ *
23721
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/canGoForward)
23722
+ */
23723
+ readonly canGoForward: boolean;
23724
+ /**
23725
+ * The **`currentEntry`** read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
23726
+ *
23727
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
23728
+ */
23729
+ readonly currentEntry: NavigationHistoryEntry | null;
23730
+ /**
23731
+ * The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
23732
+ *
23733
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/transition)
23734
+ */
23735
+ readonly transition: NavigationTransition | null;
23736
+ /**
23737
+ * The **`back()`** method of the Navigation interface navigates backwards by one entry in the navigation history.
23738
+ *
23739
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/back)
23740
+ */
23741
+ back(options?: NavigationOptions): NavigationResult;
23742
+ /**
23743
+ * The **`entries()`** method of the Navigation interface returns an array of NavigationHistoryEntry objects representing all existing history entries.
23744
+ *
23745
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/entries)
23746
+ */
23747
+ entries(): NavigationHistoryEntry[];
23748
+ /**
23749
+ * The **`forward()`** method of the Navigation interface navigates forwards by one entry in the navigation history.
23750
+ *
23751
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/forward)
23752
+ */
23753
+ forward(options?: NavigationOptions): NavigationResult;
23754
+ /**
23755
+ * The **`navigate()`** method of the Navigation interface navigates to a specific URL, updating any provided state in the history entries list.
23756
+ *
23757
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate)
23758
+ */
23759
+ navigate(url: string | URL, options?: NavigationNavigateOptions): NavigationResult;
23760
+ /**
23761
+ * The **`reload()`** method of the Navigation interface reloads the current URL, updating any provided state in the history entries list.
23762
+ *
23763
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/reload)
23764
+ */
23765
+ reload(options?: NavigationReloadOptions): NavigationResult;
23766
+ /**
23767
+ * The **`traverseTo()`** method of the Navigation interface navigates to the NavigationHistoryEntry identified by the given key.
23768
+ *
23769
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/traverseTo)
23770
+ */
23771
+ traverseTo(key: string, options?: NavigationOptions): NavigationResult;
23772
+ /**
23773
+ * The **`updateCurrentEntry()`** method of the Navigation interface updates the state of the currentEntry; used in cases where the state change will be independent of a navigation or reload.
23774
+ *
23775
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
23776
+ */
23777
+ updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
23778
+ }
23779
+
23780
+ declare var Navigation: {
23781
+ prototype: Navigation;
23782
+ new(): Navigation;
23783
+ };
23784
+
23541
23785
  /**
23542
23786
  * The **`NavigationActivation`** interface of the Navigation API represents a recent cross-document navigation. It contains the navigation type and outgoing and inbound document history entries.
23543
23787
  *
@@ -23569,6 +23813,80 @@ declare var NavigationActivation: {
23569
23813
  new(): NavigationActivation;
23570
23814
  };
23571
23815
 
23816
+ /**
23817
+ * The **`NavigationCurrentEntryChangeEvent`** interface of the Navigation API is the event object for the currententrychange event, which fires when the Navigation.currentEntry has changed.
23818
+ *
23819
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent)
23820
+ */
23821
+ interface NavigationCurrentEntryChangeEvent extends Event {
23822
+ /**
23823
+ * The **`from`** read-only property of the NavigationCurrentEntryChangeEvent interface returns the NavigationHistoryEntry that was navigated from.
23824
+ *
23825
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent/from)
23826
+ */
23827
+ readonly from: NavigationHistoryEntry;
23828
+ /**
23829
+ * The **`navigationType`** read-only property of the NavigationCurrentEntryChangeEvent interface returns the type of the navigation that resulted in the change. The property may be null if the change occurs due to Navigation.updateCurrentEntry().
23830
+ *
23831
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationCurrentEntryChangeEvent/navigationType)
23832
+ */
23833
+ readonly navigationType: NavigationType | null;
23834
+ }
23835
+
23836
+ declare var NavigationCurrentEntryChangeEvent: {
23837
+ prototype: NavigationCurrentEntryChangeEvent;
23838
+ new(type: string, eventInitDict: NavigationCurrentEntryChangeEventInit): NavigationCurrentEntryChangeEvent;
23839
+ };
23840
+
23841
+ /**
23842
+ * The **`NavigationDestination`** interface of the Navigation API represents the destination being navigated to in the current navigation.
23843
+ *
23844
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination)
23845
+ */
23846
+ interface NavigationDestination {
23847
+ /**
23848
+ * The **`id`** read-only property of the NavigationDestination interface returns the id value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or an empty string otherwise.
23849
+ *
23850
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/id)
23851
+ */
23852
+ readonly id: string;
23853
+ /**
23854
+ * The **`index`** read-only property of the NavigationDestination interface returns the index value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or -1 otherwise.
23855
+ *
23856
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/index)
23857
+ */
23858
+ readonly index: number;
23859
+ /**
23860
+ * The **`key`** read-only property of the NavigationDestination interface returns the key value of the destination NavigationHistoryEntry if the NavigateEvent.navigationType is traverse, or an empty string otherwise.
23861
+ *
23862
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/key)
23863
+ */
23864
+ readonly key: string;
23865
+ /**
23866
+ * The **`sameDocument`** read-only property of the NavigationDestination interface returns true if the navigation is to the same document as the current Document value, or false otherwise.
23867
+ *
23868
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/sameDocument)
23869
+ */
23870
+ readonly sameDocument: boolean;
23871
+ /**
23872
+ * The **`url`** read-only property of the NavigationDestination interface returns the URL being navigated to.
23873
+ *
23874
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/url)
23875
+ */
23876
+ readonly url: string;
23877
+ /**
23878
+ * The **`getState()`** method of the NavigationDestination interface returns a clone of the developer-supplied state associated with the destination NavigationHistoryEntry, or navigation operation (e.g., navigate()) as appropriate.
23879
+ *
23880
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationDestination/getState)
23881
+ */
23882
+ getState(): any;
23883
+ }
23884
+
23885
+ declare var NavigationDestination: {
23886
+ prototype: NavigationDestination;
23887
+ new(): NavigationDestination;
23888
+ };
23889
+
23572
23890
  interface NavigationHistoryEntryEventMap {
23573
23891
  "dispose": Event;
23574
23892
  }
@@ -23628,6 +23946,25 @@ declare var NavigationHistoryEntry: {
23628
23946
  new(): NavigationHistoryEntry;
23629
23947
  };
23630
23948
 
23949
+ /**
23950
+ * The **`NavigationPrecommitController`** interface of the Navigation API defines redirect behavior for a navigation precommit handler.
23951
+ *
23952
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController)
23953
+ */
23954
+ interface NavigationPrecommitController {
23955
+ /**
23956
+ * The **`redirect()`** method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.
23957
+ *
23958
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController/redirect)
23959
+ */
23960
+ redirect(url: string | URL, options?: NavigationNavigateOptions): void;
23961
+ }
23962
+
23963
+ declare var NavigationPrecommitController: {
23964
+ prototype: NavigationPrecommitController;
23965
+ new(): NavigationPrecommitController;
23966
+ };
23967
+
23631
23968
  /**
23632
23969
  * The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
23633
23970
  * Available only in secure contexts.
@@ -23666,6 +24003,38 @@ declare var NavigationPreloadManager: {
23666
24003
  new(): NavigationPreloadManager;
23667
24004
  };
23668
24005
 
24006
+ /**
24007
+ * The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation, that is, a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.
24008
+ *
24009
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
24010
+ */
24011
+ interface NavigationTransition {
24012
+ readonly committed: Promise<void>;
24013
+ /**
24014
+ * The **`finished`** read-only property of the NavigationTransition interface returns a Promise that fulfills at the same time the navigatesuccess event fires, or rejects at the same time the navigateerror event fires.
24015
+ *
24016
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/finished)
24017
+ */
24018
+ readonly finished: Promise<void>;
24019
+ /**
24020
+ * The **`from`** read-only property of the NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.
24021
+ *
24022
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/from)
24023
+ */
24024
+ readonly from: NavigationHistoryEntry;
24025
+ /**
24026
+ * The **`navigationType`** read-only property of the NavigationTransition interface returns the type of the ongoing navigation.
24027
+ *
24028
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/navigationType)
24029
+ */
24030
+ readonly navigationType: NavigationType;
24031
+ }
24032
+
24033
+ declare var NavigationTransition: {
24034
+ prototype: NavigationTransition;
24035
+ new(): NavigationTransition;
24036
+ };
24037
+
23669
24038
  /**
23670
24039
  * The **`Navigator`** interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
23671
24040
  *
@@ -24808,6 +25177,11 @@ declare var PageTransitionEvent: {
24808
25177
  new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;
24809
25178
  };
24810
25179
 
25180
+ interface PaintTimingMixin {
25181
+ readonly paintTime: DOMHighResTimeStamp;
25182
+ readonly presentationTime: DOMHighResTimeStamp | null;
25183
+ }
25184
+
24811
25185
  /**
24812
25186
  * The **`PannerNode`** interface defines an audio-processing object that represents the location, direction, and behavior of an audio source signal in a simulated physical space. This AudioNode uses right-hand Cartesian coordinates to describe the source's position as a vector and its orientation as a 3D directional cone.
24813
25187
  *
@@ -25323,6 +25697,7 @@ interface Performance extends EventTarget {
25323
25697
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/eventCounts)
25324
25698
  */
25325
25699
  readonly eventCounts: EventCounts;
25700
+ readonly interactionCount: number;
25326
25701
  /**
25327
25702
  * The legacy **`Performance.navigation`** read-only property returns a PerformanceNavigation object representing the type of navigation that occurs in the given browsing context, such as the number of redirections needed to fetch the resource.
25328
25703
  * @deprecated
@@ -25748,7 +26123,7 @@ declare var PerformanceObserverEntryList: {
25748
26123
  *
25749
26124
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
25750
26125
  */
25751
- interface PerformancePaintTiming extends PerformanceEntry {
26126
+ interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
25752
26127
  toJSON(): any;
25753
26128
  }
25754
26129
 
@@ -28645,6 +29020,19 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28645
29020
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/download)
28646
29021
  */
28647
29022
  download: string;
29023
+ /**
29024
+ * The **`hreflang`** property of the SVGAElement interface returns a string indicating the language of the linked resource.
29025
+ *
29026
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/hreflang)
29027
+ */
29028
+ hreflang: string;
29029
+ /**
29030
+ * The **`ping`** property of the SVGAElement interface returns a string that reflects the ping attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking.
29031
+ *
29032
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/ping)
29033
+ */
29034
+ ping: string;
29035
+ referrerPolicy: string;
28648
29036
  /**
28649
29037
  * The **`rel`** property of the SVGAElement returns a string reflecting the value of the rel attribute of the SVG <a> element.
28650
29038
  *
@@ -28663,6 +29051,12 @@ interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
28663
29051
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/target)
28664
29052
  */
28665
29053
  readonly target: SVGAnimatedString;
29054
+ /**
29055
+ * The **`type`** property of the SVGAElement interface returns a string indicating the MIME type of the linked resource.
29056
+ *
29057
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/type)
29058
+ */
29059
+ type: string;
28666
29060
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28667
29061
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
28668
29062
  removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -39039,6 +39433,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39039
39433
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)
39040
39434
  */
39041
39435
  name: string;
39436
+ /**
39437
+ * The **`navigation`** read-only property of the Window interface returns the current window's associated Navigation object.
39438
+ *
39439
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigation)
39440
+ */
39441
+ readonly navigation: Navigation;
39042
39442
  /**
39043
39443
  * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
39044
39444
  *
@@ -39439,7 +39839,7 @@ interface WindowEventHandlers {
39439
39839
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
39440
39840
  onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
39441
39841
  /**
39442
- * @deprecated
39842
+ * @deprecated The unload event is not reliable, consider visibilitychange or pagehide events.
39443
39843
  *
39444
39844
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
39445
39845
  */
@@ -40726,6 +41126,14 @@ interface MutationCallback {
40726
41126
  (mutations: MutationRecord[], observer: MutationObserver): void;
40727
41127
  }
40728
41128
 
41129
+ interface NavigationInterceptHandler {
41130
+ (): void | PromiseLike<void>;
41131
+ }
41132
+
41133
+ interface NavigationPrecommitHandler {
41134
+ (controller: NavigationPrecommitController): void | PromiseLike<void>;
41135
+ }
41136
+
40729
41137
  interface NotificationPermissionCallback {
40730
41138
  (permission: NotificationPermission): void;
40731
41139
  }
@@ -41207,6 +41615,12 @@ declare var menubar: BarProp;
41207
41615
  */
41208
41616
  /** @deprecated */
41209
41617
  declare const name: void;
41618
+ /**
41619
+ * The **`navigation`** read-only property of the Window interface returns the current window's associated Navigation object.
41620
+ *
41621
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigation)
41622
+ */
41623
+ declare var navigation: Navigation;
41210
41624
  /**
41211
41625
  * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
41212
41626
  *
@@ -41808,7 +42222,7 @@ declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
41808
42222
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
41809
42223
  declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
41810
42224
  /**
41811
- * @deprecated
42225
+ * @deprecated The unload event is not reliable, consider visibilitychange or pagehide events.
41812
42226
  *
41813
42227
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
41814
42228
  */
@@ -42044,6 +42458,9 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required";
42044
42458
  type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
42045
42459
  type MediaSessionPlaybackState = "none" | "paused" | "playing";
42046
42460
  type MediaStreamTrackState = "ended" | "live";
42461
+ type NavigationFocusReset = "after-transition" | "manual";
42462
+ type NavigationHistoryBehavior = "auto" | "push" | "replace";
42463
+ type NavigationScrollBehavior = "after-transition" | "manual";
42047
42464
  type NavigationTimingType = "back_forward" | "navigate" | "reload";
42048
42465
  type NavigationType = "push" | "reload" | "replace" | "traverse";
42049
42466
  type NotificationDirection = "auto" | "ltr" | "rtl";