react-native-tvos 0.87.1-0 → 0.87.1-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/Libraries/Core/ReactNativeVersion.js +1 -1
  2. package/React/Base/RCTVersion.m +1 -1
  3. package/ReactAndroid/gradle.properties +1 -1
  4. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  5. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  6. package/package.json +2 -2
  7. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +96 -0
  8. package/types_generated/Libraries/Alert/Alert.d.ts +92 -0
  9. package/types_generated/Libraries/Animated/Animated.d.ts +14 -0
  10. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +30 -0
  11. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +191 -0
  12. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +232 -0
  13. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +13 -0
  14. package/types_generated/Libraries/Animated/Easing.d.ts +172 -0
  15. package/types_generated/Libraries/Animated/animations/Animation.d.ts +35 -0
  16. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +42 -0
  17. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +130 -0
  18. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +54 -0
  19. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +22 -0
  20. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +18 -0
  21. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +23 -0
  22. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +22 -0
  23. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +18 -0
  24. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +19 -0
  25. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +44 -0
  26. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +22 -0
  27. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +80 -0
  28. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +22 -0
  29. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +22 -0
  30. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +38 -0
  31. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +22 -0
  32. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +22 -0
  33. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +50 -0
  34. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +30 -0
  35. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +32 -0
  36. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +22 -0
  37. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +21 -0
  38. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +126 -0
  39. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +135 -0
  40. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +15 -0
  41. package/types_generated/Libraries/Animated/useAnimatedColor.d.ts +16 -0
  42. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +15 -0
  43. package/types_generated/Libraries/Animated/useAnimatedValueXY.d.ts +18 -0
  44. package/types_generated/Libraries/AppState/AppState.d.ts +82 -0
  45. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +17 -0
  46. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +39 -0
  47. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +27 -0
  48. package/types_generated/Libraries/Blob/Blob.d.ts +80 -0
  49. package/types_generated/Libraries/Blob/BlobTypes.d.ts +27 -0
  50. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +223 -0
  51. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +20 -0
  52. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +133 -0
  53. package/types_generated/Libraries/Components/Button.d.ts +167 -0
  54. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +43 -0
  55. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +17 -0
  56. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +27 -0
  57. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +157 -0
  58. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +115 -0
  59. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +82 -0
  60. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +23 -0
  61. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +170 -0
  62. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +48 -0
  63. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +32 -0
  64. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +67 -0
  65. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +96 -0
  66. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +31 -0
  67. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +723 -0
  68. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +24 -0
  69. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +36 -0
  70. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +189 -0
  71. package/types_generated/Libraries/Components/Switch/Switch.d.ts +143 -0
  72. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +23 -0
  73. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +34 -0
  74. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +96 -0
  75. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +97 -0
  76. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +123 -0
  77. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +24 -0
  78. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +20 -0
  79. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +37 -0
  80. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +162 -0
  81. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +1020 -0
  82. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +54 -0
  83. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +99 -0
  84. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +62 -0
  85. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +155 -0
  86. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +47 -0
  87. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +121 -0
  88. package/types_generated/Libraries/Components/View/View.d.ts +34 -0
  89. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +426 -0
  90. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +38 -0
  91. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +412 -0
  92. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +27 -0
  93. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +43 -0
  94. package/types_generated/Libraries/Core/ExtendedError.d.ts +26 -0
  95. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +17 -0
  96. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +26 -0
  97. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +27 -0
  98. package/types_generated/Libraries/Core/ReactNativeVersion.d.ts +48 -0
  99. package/types_generated/Libraries/Core/registerCallableModule.d.ts +18 -0
  100. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +75 -0
  101. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +19 -0
  102. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +18 -0
  103. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +24 -0
  104. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +60 -0
  105. package/types_generated/Libraries/Image/Image.d.ts +18 -0
  106. package/types_generated/Libraries/Image/ImageBackground.d.ts +55 -0
  107. package/types_generated/Libraries/Image/ImageProps.d.ts +462 -0
  108. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +17 -0
  109. package/types_generated/Libraries/Image/ImageSource.d.ts +94 -0
  110. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +62 -0
  111. package/types_generated/Libraries/Interaction/PanResponder.d.ts +234 -0
  112. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +87 -0
  113. package/types_generated/Libraries/Linking/Linking.d.ts +76 -0
  114. package/types_generated/Libraries/Lists/FlatList.d.ts +316 -0
  115. package/types_generated/Libraries/Lists/SectionList.d.ts +177 -0
  116. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +21 -0
  117. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +21 -0
  118. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +78 -0
  119. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +71 -0
  120. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +17 -0
  121. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +49 -0
  122. package/types_generated/Libraries/LogBox/LogBox.d.ts +32 -0
  123. package/types_generated/Libraries/Modal/Modal.d.ts +145 -0
  124. package/types_generated/Libraries/NativeComponent/NativeComponentRegistry.d.ts +50 -0
  125. package/types_generated/Libraries/Network/FormData.d.ts +56 -0
  126. package/types_generated/Libraries/Network/RCTNetworking.d.ts +25 -0
  127. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +22 -0
  128. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +114 -0
  129. package/types_generated/Libraries/Network/convertRequestBody.d.ts +21 -0
  130. package/types_generated/Libraries/Performance/Systrace.d.ts +71 -0
  131. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +139 -0
  132. package/types_generated/Libraries/Pressability/Pressability.d.ts +241 -0
  133. package/types_generated/Libraries/Pressability/usePressability.d.ts +27 -0
  134. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +327 -0
  135. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +14 -0
  136. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +43 -0
  137. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +120 -0
  138. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +24 -0
  139. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +42 -0
  140. package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +57 -0
  141. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +17 -0
  142. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +17 -0
  143. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +31 -0
  144. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +15 -0
  145. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +36 -0
  146. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +13 -0
  147. package/types_generated/Libraries/ReactNative/RootTag.d.ts +22 -0
  148. package/types_generated/Libraries/ReactNative/UIManager.d.ts +17 -0
  149. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +25 -0
  150. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +17 -0
  151. package/types_generated/Libraries/Renderer/shims/ReactFabric.d.ts +17 -0
  152. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +155 -0
  153. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +41 -0
  154. package/types_generated/Libraries/Settings/Settings.d.ts +21 -0
  155. package/types_generated/Libraries/Share/Share.d.ts +82 -0
  156. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +15 -0
  157. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +23 -0
  158. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +27 -0
  159. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +16 -0
  160. package/types_generated/Libraries/StyleSheet/Rect.d.ts +22 -0
  161. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +153 -0
  162. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +94 -0
  163. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +872 -0
  164. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +19 -0
  165. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +17 -0
  166. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +76 -0
  167. package/types_generated/Libraries/StyleSheet/processColor.d.ts +18 -0
  168. package/types_generated/Libraries/Text/Text.d.ts +34 -0
  169. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +20 -0
  170. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +41 -0
  171. package/types_generated/Libraries/Text/TextProps.d.ts +175 -0
  172. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +35 -0
  173. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +15 -0
  174. package/types_generated/Libraries/Types/CodegenTypes.d.ts +24 -0
  175. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +14 -0
  176. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +361 -0
  177. package/types_generated/Libraries/Types/RootTagTypes.d.ts +13 -0
  178. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +17 -0
  179. package/types_generated/Libraries/UTFSequence.d.ts +39 -0
  180. package/types_generated/Libraries/Utilities/Appearance.d.ts +43 -0
  181. package/types_generated/Libraries/Utilities/BackHandler.d.ts +43 -0
  182. package/types_generated/Libraries/Utilities/DevSettings.d.ts +41 -0
  183. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +17 -0
  184. package/types_generated/Libraries/Utilities/Dimensions.d.ts +60 -0
  185. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +17 -0
  186. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +14 -0
  187. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +113 -0
  188. package/types_generated/Libraries/Utilities/Platform.d.ts +20 -0
  189. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +193 -0
  190. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +19 -0
  191. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +24 -0
  192. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +33 -0
  193. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +19 -0
  194. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +25 -0
  195. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +21 -0
  196. package/types_generated/Libraries/Vibration/Vibration.d.ts +37 -0
  197. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +39 -0
  198. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +67 -0
  199. package/types_generated/index.d.ts +190 -0
  200. package/types_generated/src/private/assets/AssetRegistry.d.ts +42 -0
  201. package/types_generated/src/private/components/virtualcollection/FlingConstants.d.ts +20 -0
  202. package/types_generated/src/private/components/virtualcollection/Virtual.d.ts +46 -0
  203. package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +81 -0
  204. package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +23 -0
  205. package/types_generated/src/private/components/virtualcollection/column/VirtualColumnGenerator.d.ts +17 -0
  206. package/types_generated/src/private/components/virtualcollection/dom/getScrollParent.d.ts +21 -0
  207. package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +23 -0
  208. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +75 -0
  209. package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +107 -0
  210. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +107 -0
  211. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +28 -0
  212. package/types_generated/src/private/renderer/events/dispatchNativeEvent.d.ts +26 -0
  213. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +27 -0
  214. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +46 -0
  215. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +45 -0
  216. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +27 -0
  217. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +109 -0
  218. package/types_generated/src/private/styles/composeStyles.d.ts +19 -0
  219. package/types_generated/src/private/types/HostComponent.d.ts +19 -0
  220. package/types_generated/src/private/types/HostInstance.d.ts +57 -0
  221. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +27 -0
  222. package/types_generated/src/private/webapis/dom/events/Event.d.ts +50 -0
  223. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +36 -0
  224. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +35 -0
  225. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +89 -0
  226. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +32 -0
  227. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +56 -0
  228. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +131 -0
  229. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +26 -0
  230. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +36 -0
  231. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +23 -0
  232. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +22 -0
  233. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +229 -0
  234. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +24 -0
  235. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +27 -0
  236. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +46 -0
  237. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +73 -0
  238. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +27 -0
  239. package/types_generated/src/react-private-interface.d.ts +33 -0
  240. package/types_generated/tsconfig.json +3 -0
@@ -0,0 +1,361 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<e46f5f9d84e88931a058fd121cce0fcb>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Types/CoreEventTypes.js
11
+ */
12
+
13
+ import type { HostInstance } from "../../src/private/types/HostInstance";
14
+ export type NativeSyntheticEvent<T> = Readonly<{
15
+ bubbles: boolean | undefined;
16
+ cancelable: boolean | undefined;
17
+ currentTarget: number | HostInstance;
18
+ defaultPrevented: boolean | undefined;
19
+ dispatchConfig: Readonly<{
20
+ registrationName: string;
21
+ }>;
22
+ eventPhase: number | undefined;
23
+ preventDefault: () => void;
24
+ isDefaultPrevented: () => boolean;
25
+ stopPropagation: () => void;
26
+ isPropagationStopped: () => boolean;
27
+ isTrusted: boolean | undefined;
28
+ nativeEvent: T;
29
+ persist: () => void;
30
+ target: (number | undefined) | HostInstance;
31
+ timeStamp: number;
32
+ type: string | undefined;
33
+ }>;
34
+ export type ResponderSyntheticEvent<T> = Readonly<Omit<NativeSyntheticEvent<T>, keyof {
35
+ touchHistory: Readonly<{
36
+ indexOfSingleActiveTouch: number;
37
+ mostRecentTimeStamp: number;
38
+ numberActiveTouches: number;
39
+ touchBank: ReadonlyArray<Readonly<{
40
+ touchActive: boolean;
41
+ startPageX: number;
42
+ startPageY: number;
43
+ startTimeStamp: number;
44
+ currentPageX: number;
45
+ currentPageY: number;
46
+ currentTimeStamp: number;
47
+ previousPageX: number;
48
+ previousPageY: number;
49
+ previousTimeStamp: number;
50
+ }>>;
51
+ }>;
52
+ }> & {
53
+ touchHistory: Readonly<{
54
+ indexOfSingleActiveTouch: number;
55
+ mostRecentTimeStamp: number;
56
+ numberActiveTouches: number;
57
+ touchBank: ReadonlyArray<Readonly<{
58
+ touchActive: boolean;
59
+ startPageX: number;
60
+ startPageY: number;
61
+ startTimeStamp: number;
62
+ currentPageX: number;
63
+ currentPageY: number;
64
+ currentTimeStamp: number;
65
+ previousPageX: number;
66
+ previousPageY: number;
67
+ previousTimeStamp: number;
68
+ }>>;
69
+ }>;
70
+ }>;
71
+ export type LayoutRectangle = Readonly<{
72
+ x: number;
73
+ y: number;
74
+ width: number;
75
+ height: number;
76
+ }>;
77
+ export type TextLayoutLine = Readonly<Omit<LayoutRectangle, keyof {
78
+ ascender: number;
79
+ capHeight: number;
80
+ descender: number;
81
+ text: string;
82
+ xHeight: number;
83
+ }> & {
84
+ ascender: number;
85
+ capHeight: number;
86
+ descender: number;
87
+ text: string;
88
+ xHeight: number;
89
+ }>;
90
+ export type LayoutChangeEvent = NativeSyntheticEvent<Readonly<{
91
+ layout: LayoutRectangle;
92
+ }>>;
93
+ /**
94
+ * @deprecated Use `TextLayoutEvent` instead.
95
+ */
96
+ /**
97
+ * @deprecated Use `TextLayoutEvent` instead.
98
+ */
99
+ type TextLayoutEventData = Readonly<{
100
+ lines: Array<TextLayoutLine>;
101
+ }>;
102
+ export type TextLayoutEvent = NativeSyntheticEvent<TextLayoutEventData>;
103
+ export type RemotePressEvent = Readonly<{
104
+ target: number;
105
+ }>;
106
+ export type TVRemoteEvent = Readonly<{
107
+ tag?: number | undefined;
108
+ target?: number | undefined;
109
+ eventType: string;
110
+ eventKeyAction?: string | undefined;
111
+ body?: any | undefined;
112
+ }>;
113
+ /**
114
+ * https://developer.mozilla.org/en-US/docs/Web/API/UIEvent
115
+ */
116
+ export interface NativeUIEvent {
117
+ /**
118
+ * Returns a long with details about the event, depending on the event type.
119
+ */
120
+ readonly detail: number;
121
+ }
122
+ /**
123
+ * https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent
124
+ */
125
+ export interface NativeMouseEvent extends NativeUIEvent {
126
+ /**
127
+ * The X coordinate of the mouse pointer in global (screen) coordinates.
128
+ */
129
+ readonly screenX: number;
130
+ /**
131
+ * The Y coordinate of the mouse pointer in global (screen) coordinates.
132
+ */
133
+ readonly screenY: number;
134
+ /**
135
+ * The X coordinate of the mouse pointer relative to the whole document.
136
+ */
137
+ readonly pageX: number;
138
+ /**
139
+ * The Y coordinate of the mouse pointer relative to the whole document.
140
+ */
141
+ readonly pageY: number;
142
+ /**
143
+ * The X coordinate of the mouse pointer in local (DOM content) coordinates.
144
+ */
145
+ readonly clientX: number;
146
+ /**
147
+ * The Y coordinate of the mouse pointer in local (DOM content) coordinates.
148
+ */
149
+ readonly clientY: number;
150
+ /**
151
+ * Alias for NativeMouseEvent.clientX
152
+ */
153
+ readonly x: number;
154
+ /**
155
+ * Alias for NativeMouseEvent.clientY
156
+ */
157
+ readonly y: number;
158
+ /**
159
+ * Returns true if the control key was down when the mouse event was fired.
160
+ */
161
+ readonly ctrlKey: boolean;
162
+ /**
163
+ * Returns true if the shift key was down when the mouse event was fired.
164
+ */
165
+ readonly shiftKey: boolean;
166
+ /**
167
+ * Returns true if the alt key was down when the mouse event was fired.
168
+ */
169
+ readonly altKey: boolean;
170
+ /**
171
+ * Returns true if the meta key was down when the mouse event was fired.
172
+ */
173
+ readonly metaKey: boolean;
174
+ /**
175
+ * The button number that was pressed (if applicable) when the mouse event was fired.
176
+ */
177
+ readonly button: number;
178
+ /**
179
+ * The buttons being depressed (if any) when the mouse event was fired.
180
+ */
181
+ readonly buttons: number;
182
+ /**
183
+ * The secondary target for the event, if there is one.
184
+ */
185
+ readonly relatedTarget: null | number | HostInstance;
186
+ /**
187
+ * The X coordinate of the mouse pointer between that event and the padding edge of the target node
188
+ */
189
+ readonly offsetX: number;
190
+ /**
191
+ * The Y coordinate of the mouse pointer between that event and the padding edge of the target node
192
+ */
193
+ readonly offsetY: number;
194
+ }
195
+ /**
196
+ * https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent
197
+ */
198
+ export interface NativePointerEvent extends NativeMouseEvent {
199
+ /**
200
+ * A unique identifier for the pointer causing the event.
201
+ */
202
+ readonly pointerId: number;
203
+ /**
204
+ * The width (magnitude on the X axis), in CSS pixels, of the contact geometry of the pointer
205
+ */
206
+ readonly width: number;
207
+ /**
208
+ * The height (magnitude on the Y axis), in CSS pixels, of the contact geometry of the pointer.
209
+ */
210
+ readonly height: number;
211
+ /**
212
+ * The normalized pressure of the pointer input in the range 0 to 1, where 0 and 1 represent
213
+ * the minimum and maximum pressure the hardware is capable of detecting, respectively.
214
+ */
215
+ readonly pressure: number;
216
+ /**
217
+ * The normalized tangential pressure of the pointer input (also known as barrel pressure or
218
+ * cylinder stress) in the range -1 to 1, where 0 is the neutral position of the control.
219
+ */
220
+ readonly tangentialPressure: number;
221
+ /**
222
+ * The plane angle (in degrees, in the range of -90 to 90) between the Y–Z plane and the plane
223
+ * containing both the pointer (e.g. pen stylus) axis and the Y axis.
224
+ */
225
+ readonly tiltX: number;
226
+ /**
227
+ * The plane angle (in degrees, in the range of -90 to 90) between the X–Z plane and the plane
228
+ * containing both the pointer (e.g. pen stylus) axis and the X axis.
229
+ */
230
+ readonly tiltY: number;
231
+ /**
232
+ * The clockwise rotation of the pointer (e.g. pen stylus) around its major axis in degrees,
233
+ * with a value in the range 0 to 359.
234
+ */
235
+ readonly twist: number;
236
+ /**
237
+ * Indicates the device type that caused the event (mouse, pen, touch, etc.)
238
+ */
239
+ readonly pointerType: string;
240
+ /**
241
+ * Indicates if the pointer represents the primary pointer of this pointer type.
242
+ */
243
+ readonly isPrimary: boolean;
244
+ }
245
+ export type PointerEvent = NativeSyntheticEvent<NativePointerEvent>;
246
+ export type NativeTouchEvent = Readonly<{
247
+ /**
248
+ * Array of all touch events that have changed since the last event
249
+ */
250
+ changedTouches: ReadonlyArray<NativeTouchEvent>;
251
+ /**
252
+ * 3D Touch reported force
253
+ * @platform ios
254
+ */
255
+ force?: number | undefined;
256
+ /**
257
+ * The ID of the touch
258
+ */
259
+ identifier: number;
260
+ /**
261
+ * The X position of the touch, relative to the element
262
+ */
263
+ locationX: number;
264
+ /**
265
+ * The Y position of the touch, relative to the element
266
+ */
267
+ locationY: number;
268
+ /**
269
+ * The X position of the touch, relative to the screen
270
+ */
271
+ pageX: number;
272
+ /**
273
+ * The Y position of the touch, relative to the screen
274
+ */
275
+ pageY: number;
276
+ /**
277
+ * The node id of the element receiving the touch event
278
+ */
279
+ target: number | undefined;
280
+ /**
281
+ * A time identifier for the touch, useful for velocity calculation
282
+ */
283
+ timestamp: number;
284
+ /**
285
+ * Array of all current touches on the screen
286
+ */
287
+ touches: ReadonlyArray<NativeTouchEvent>;
288
+ }>;
289
+ export type GestureResponderEvent = ResponderSyntheticEvent<NativeTouchEvent>;
290
+ export type NativeScrollRectangle = Readonly<{
291
+ bottom: number;
292
+ left: number;
293
+ right: number;
294
+ top: number;
295
+ }>;
296
+ export type NativeScrollPoint = Readonly<{
297
+ y: number;
298
+ x: number;
299
+ }>;
300
+ export type NativeScrollVelocity = Readonly<{
301
+ y: number;
302
+ x: number;
303
+ }>;
304
+ export type NativeScrollSize = Readonly<{
305
+ height: number;
306
+ width: number;
307
+ }>;
308
+ export type NativeScrollEvent = Readonly<{
309
+ contentInset: NativeScrollRectangle;
310
+ contentOffset: NativeScrollPoint;
311
+ contentSize: NativeScrollSize;
312
+ layoutMeasurement: NativeScrollSize;
313
+ velocity?: NativeScrollVelocity | undefined;
314
+ zoomScale?: number | undefined;
315
+ responderIgnoreScroll?: boolean | undefined;
316
+ /**
317
+ * @platform ios
318
+ */
319
+ targetContentOffset?: NativeScrollPoint | undefined;
320
+ }>;
321
+ export type ScrollEvent = NativeSyntheticEvent<NativeScrollEvent>;
322
+ export type TargetedEvent = Readonly<{
323
+ target: number;
324
+ }>;
325
+ export type BlurEvent = NativeSyntheticEvent<TargetedEvent>;
326
+ export type FocusEvent = NativeSyntheticEvent<TargetedEvent>;
327
+ export type MouseEvent = NativeSyntheticEvent<Readonly<{
328
+ clientX: number;
329
+ clientY: number;
330
+ pageX: number;
331
+ pageY: number;
332
+ timestamp: number;
333
+ }>>;
334
+ export type KeyEvent = Readonly<{
335
+ /**
336
+ * The actual key that was pressed. For example, F would be "f" or "F" depending on the shift key.
337
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
338
+ */
339
+ key: string;
340
+ /**
341
+ * The key code of the key that was pressed. For example, F would be "KeyF"
342
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
343
+ */
344
+ code: string;
345
+ altKey: boolean;
346
+ ctrlKey: boolean;
347
+ metaKey: boolean;
348
+ shiftKey: boolean;
349
+ /**
350
+ * A boolean value that is true if the given key is being held down such that it is automatically repeating.
351
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat
352
+ */
353
+ repeat?: boolean | undefined;
354
+ /**
355
+ * Returns a boolean value indicating if the event is fired within a composition session
356
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/isComposing
357
+ */
358
+ isComposing?: boolean | undefined;
359
+ }>;
360
+ export type KeyUpEvent = NativeSyntheticEvent<KeyEvent>;
361
+ export type KeyDownEvent = NativeSyntheticEvent<KeyEvent>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<6a30f50a9f753730dbfa874eddbe6093>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Types/RootTagTypes.js
11
+ */
12
+
13
+ export type { RootTag } from "../ReactNative/RootTag";
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<e21f3e0688e298327a0138abb48b9964>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Types/UIManagerJSInterface.js
11
+ */
12
+
13
+ import type { Spec } from "../ReactNative/NativeUIManager";
14
+ export interface UIManagerJSInterface extends Spec {
15
+ readonly getViewManagerConfig: (viewManagerName: string) => Object;
16
+ readonly hasViewManagerConfig: (viewManagerName: string) => boolean;
17
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<b8b380270519d08a69a11f6eb8c6de43>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/UTFSequence.js
11
+ */
12
+
13
+ declare const UTFSequence: {
14
+ BOM: string;
15
+ BULLET: string;
16
+ BULLET_SP: string;
17
+ MDASH: string;
18
+ MDASH_SP: string;
19
+ MIDDOT: string;
20
+ MIDDOT_KATAKANA: string;
21
+ MIDDOT_SP: string;
22
+ NBSP: string;
23
+ NDASH: string;
24
+ NDASH_SP: string;
25
+ NEWLINE: string;
26
+ PIZZA: string;
27
+ TRIANGLE_LEFT: string;
28
+ TRIANGLE_RIGHT: string;
29
+ };
30
+ /**
31
+ * A collection of Unicode sequences for various characters and emoji.
32
+ *
33
+ * - More explicit than using the sequences directly in code.
34
+ * - Source code should be limited to ASCII.
35
+ * - Less chance of typos.
36
+ */
37
+ declare const $$UTFSequence: typeof UTFSequence;
38
+ declare type $$UTFSequence = typeof $$UTFSequence;
39
+ export default $$UTFSequence;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<fc35ca9d6dba58fbebac115111ea5de0>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/Appearance.js
11
+ */
12
+
13
+ import type { EventSubscription } from "../vendor/emitter/EventEmitter";
14
+ import type { ColorSchemeName, ColorSchemeOverride } from "./NativeAppearance";
15
+ export type { ColorSchemeName, ColorSchemeOverride };
16
+ export type AppearancePreferences = {
17
+ colorScheme: ColorSchemeName | null;
18
+ };
19
+ /**
20
+ * Returns the active color scheme (`'light'` or `'dark'`). This value may
21
+ * change at runtime, either at the system level (e.g. scheduled color scheme
22
+ * change at sunrise or sunset) or when overridden at the app level via
23
+ * `setColorScheme()`.
24
+ *
25
+ * Prefer `useColorScheme()` in React components.
26
+ *
27
+ * Notes:
28
+ * - `null` will only be returned if the native Appearance module is unavailable
29
+ * (out of tree platforms).
30
+ */
31
+ export declare function getColorScheme(): ColorSchemeName | null;
32
+ /**
33
+ * Force the application to always adopt a light or dark interface style. Pass
34
+ * `'auto'` to reset and follow the system default (removes any override).
35
+ * This does not affect the system UI, only the application.
36
+ */
37
+ export declare function setColorScheme(colorScheme: ColorSchemeOverride): void;
38
+ /**
39
+ * Subscribe to color scheme changes. The listener receives the new appearance
40
+ * preferences whenever the color scheme changes, whether from a system event
41
+ * or a call to `setColorScheme()`.
42
+ */
43
+ export declare function addChangeListener(listener: (preferences: AppearancePreferences) => void): EventSubscription;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<052dcf752ab637296040b0f00b22cf85>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/BackHandler.js.flow
11
+ */
12
+
13
+ export type BackPressEventName = "backPress" | "hardwareBackPress";
14
+ /**
15
+ * Event dispatched when the hardware back button is pressed.
16
+ * The `timeStamp` property reflects the native timestamp captured
17
+ * when the back press was emitted.
18
+ */
19
+ export interface HardwareBackPressEvent {
20
+ readonly type: string;
21
+ readonly timeStamp: number;
22
+ }
23
+ type TBackHandler = {
24
+ exitApp(): void;
25
+ addEventListener(eventName: BackPressEventName, handler: (event: HardwareBackPressEvent) => boolean | undefined): {
26
+ remove: () => void;
27
+ };
28
+ };
29
+ declare const BackHandler: TBackHandler;
30
+ /**
31
+ * Detect hardware back button presses, and programmatically invoke the
32
+ * default back button functionality to exit the app if there are no
33
+ * listeners or if none of the listeners return true.
34
+ * The event subscriptions are called in reverse order
35
+ * (i.e. last registered subscription first), and if one subscription
36
+ * returns true then subscriptions registered earlier
37
+ * will not be called.
38
+ *
39
+ * @see https://reactnative.dev/docs/backhandler
40
+ */
41
+ declare const $$BackHandler: typeof BackHandler;
42
+ declare type $$BackHandler = typeof $$BackHandler;
43
+ export default $$BackHandler;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<cdcfe35ae8c7017de20fe2321033fa24>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/DevSettings.js
11
+ */
12
+
13
+ declare let DevSettings: {
14
+ /**
15
+ * Adds a custom menu item to the developer menu.
16
+ *
17
+ * @param title - The title of the menu item. Is internally used as id and should therefore be unique.
18
+ * @param handler - The callback invoked when pressing the menu item.
19
+ */
20
+ addMenuItem(title: string, handler: () => unknown): void;
21
+ /**
22
+ * Reload the application.
23
+ *
24
+ * @param reason
25
+ */
26
+ reload(reason?: string): void;
27
+ /**
28
+ * Notify the native side that a Fast Refresh has occurred.
29
+ */
30
+ onFastRefresh(): void;
31
+ };
32
+ /**
33
+ * The `DevSettings` module exposes methods for customizing settings for
34
+ * developers in development mode. This module is a no-op in production
35
+ * builds.
36
+ *
37
+ * @see https://reactnative.dev/docs/devsettings
38
+ */
39
+ declare const $$DevSettings: typeof DevSettings;
40
+ declare type $$DevSettings = typeof $$DevSettings;
41
+ export default $$DevSettings;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<cb5bb2856c1b1229448ac5552c16e21e>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/DeviceInfo.js
11
+ */
12
+
13
+ export type { DeviceInfoConstants } from "./NativeDeviceInfo";
14
+ import NativeDeviceInfo from "./NativeDeviceInfo";
15
+ declare const $$DeviceInfo: typeof NativeDeviceInfo;
16
+ declare type $$DeviceInfo = typeof $$DeviceInfo;
17
+ export default $$DeviceInfo;
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<7471aa3da6bb64a8be4de0a5dd5bec8a>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/Dimensions.js
11
+ */
12
+
13
+ import { type EventSubscription } from "../vendor/emitter/EventEmitter";
14
+ import { type DimensionsPayload, type DisplayMetrics, type DisplayMetricsAndroid } from "./NativeDeviceInfo";
15
+ export type { DimensionsPayload, DisplayMetrics, DisplayMetricsAndroid };
16
+ /** @deprecated Use DisplayMetrics */
17
+ export type ScaledSize = DisplayMetrics;
18
+ /**
19
+ * Provides the application window's width and height. Prefer
20
+ * `useWindowDimensions` in React components.
21
+ *
22
+ * @see https://reactnative.dev/docs/dimensions
23
+ */
24
+ declare class Dimensions {
25
+ /**
26
+ * Returns the current dimensions for `'window'` or `'screen'`. On Android,
27
+ * `'window'` dimensions exclude the status bar and navigation bar.
28
+ *
29
+ * NOTE: `useWindowDimensions` is the preferred API for React components.
30
+ *
31
+ * Although dimensions are available immediately, they may change (e.g. due to
32
+ * device rotation) so any rendering logic or styles that depend on these
33
+ * constants should try to call this function on every render, rather than
34
+ * caching the value.
35
+ *
36
+ * Example: `const {height, width} = Dimensions.get('window');`
37
+ *
38
+ * @param {string} dim Name of dimension as defined when calling `set`.
39
+ * @returns {DisplayMetrics? | DisplayMetricsAndroid?} Value for the dimension.
40
+ */
41
+ static get(dim: string): DisplayMetrics | DisplayMetricsAndroid;
42
+ /**
43
+ * This should only be called from native code by sending the
44
+ * didUpdateDimensions event.
45
+ *
46
+ * @param {DimensionsPayload} dims Simple string-keyed object of dimensions to set
47
+ */
48
+ static set(dims: Readonly<DimensionsPayload>): void;
49
+ /**
50
+ * Add an event handler. Supported events:
51
+ *
52
+ * - `change`: Fires when a property within the `Dimensions` object changes,
53
+ * such as on device rotation or foldable device state changes. The argument
54
+ * to the event handler is a `DimensionsPayload` object with `window` and
55
+ * `screen` properties whose values are the same as the return values of
56
+ * `Dimensions.get('window')` and `Dimensions.get('screen')`, respectively.
57
+ */
58
+ static addEventListener(type: "change", handler: Function): EventSubscription;
59
+ }
60
+ export default Dimensions;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<b4a0efc498801036086328a6ac23e8b1>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/NativeAppearance.js
11
+ */
12
+
13
+ export type * from "../../src/private/specs_DEPRECATED/modules/NativeAppearance";
14
+ import NativeAppearance from "../../src/private/specs_DEPRECATED/modules/NativeAppearance";
15
+ declare const $$NativeAppearance: typeof NativeAppearance;
16
+ declare type $$NativeAppearance = typeof $$NativeAppearance;
17
+ export default $$NativeAppearance;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @generated SignedSource<<d61ce003aee1d0ffbe1d3b87ffd2f01b>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Utilities/NativeDeviceInfo.js
11
+ */
12
+
13
+ export * from "../../src/private/specs_DEPRECATED/modules/NativeDeviceInfo";
14
+ export { default } from "../../src/private/specs_DEPRECATED/modules/NativeDeviceInfo";