/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict
 * @format
 */

/**
 * `global` is a object containing all the global variables for React Native.
 *
 * NOTE: Consider cross-platform as well as JS environments compatibility
 * when defining the types here. Consider both presence (`?`) as well as
 * writeability (`+`) when defining types.
 */
declare var global: {
  // setUpGlobals
  +window: typeof global;
  +self: typeof global;

  // setXHR
  +XMLHttpRequest: typeof XMLHttpRequest;
  +FormData: typeof FormData;
  +fetch: typeof fetch;
  +Headers: typeof Headers;
  +Request: typeof Request;
  +Response: typeof Response;
  +WebSocket: typeof WebSocket;
  +Blob: typeof Blob;
  +File: typeof File;
  +FileReader: typeof FileReader;
  +URL: typeof URL;
  +URLSearchParams: typeof URLSearchParams;
  +AbortController: typeof AbortController;
  +AbortSignal: typeof AbortSignal;

  // setUpAlert
  +alert: typeof alert;

  // setUpTimers
  +clearInterval: typeof clearInterval,
  +clearTimeout: typeof clearTimeout,
  +setInterval: typeof setInterval,
  +setTimeout: typeof setTimeout,
  +requestAnimationFrame: typeof requestAnimationFrame,
  +cancelAnimationFrame: typeof cancelAnimationFrame,
  +requestIdleCallback: typeof requestIdleCallback,
  +cancelIdleCallback: typeof cancelIdleCallback,
  +setTimeout: typeof setTimeout,
  // TODO(T97509743): use `typeof` when the next Flow release is available.
  +queueMicrotask: <TArguments: Array<mixed>>(
    jobCallback: (...args: TArguments) => mixed,
  ) => void;

  +console: typeof console,

  // JavaScript environments specific
  +HermesInternal: ?$HermesInternalType,

  // Internal-specific
  +__DEV__?: boolean,
  +RN$Bridgeless?: boolean,

  // Undeclared properties are implicitly `any`.
  [string | symbol]: any,
};

@@ -556,17 +556,17 @@
 f global
-;
+,
 %0A  +self
@@ -580,17 +580,17 @@
 f global
-;
+,
 %0A%0A  // s
@@ -631,25 +631,25 @@
 LHttpRequest
-;
+,
 %0A  +FormData
@@ -665,17 +665,17 @@
 FormData
-;
+,
 %0A  +fetc
@@ -689,17 +689,17 @@
 of fetch
-;
+,
 %0A  +Head
@@ -717,17 +717,17 @@
  Headers
-;
+,
 %0A  +Requ
@@ -745,17 +745,17 @@
  Request
-;
+,
 %0A  +Resp
@@ -775,17 +775,17 @@
 Response
-;
+,
 %0A  +WebS
@@ -807,17 +807,17 @@
 ebSocket
-;
+,
 %0A  +Blob
@@ -829,17 +829,17 @@
 eof Blob
-;
+,
 %0A  +File
@@ -851,17 +851,17 @@
 eof File
-;
+,
 %0A  +File
@@ -885,17 +885,17 @@
 leReader
-;
+,
 %0A  +URL:
@@ -905,17 +905,17 @@
 peof URL
-;
+,
 %0A  +URLS
@@ -949,17 +949,17 @@
 chParams
-;
+,
 %0A  +Abor
@@ -993,17 +993,17 @@
 ntroller
-;
+,
 %0A  +Abor
@@ -1029,17 +1029,17 @@
 rtSignal
-;
+,
 %0A%0A  // s
@@ -1070,17 +1070,17 @@
 of alert
-;
+,
 %0A%0A  // s
@@ -1667,17 +1667,17 @@
  =%3E void
-;
+,
 %0A%0A  +con

Update format to fix CircleCI failure (#32095)