|
4 | 4 | * This source code is licensed under the MIT license found in the
|
5 | 5 | * LICENSE file in the root directory of this source tree.
|
6 | 6 | *
|
7 |
| - * @generated SignedSource<<9e1f5e0432c20ddc070ec9dced982591>> |
| 7 | + * @generated SignedSource<<2945ef6895f3b6ab1da15ac08a6ef3e7>> |
8 | 8 | *
|
9 | 9 | * This file was generated by scripts/js-api/build-types/index.js.
|
10 | 10 | */
|
@@ -2454,14 +2454,24 @@ declare type GestureResponderHandlers = {
|
2454 | 2454 | e: GestureResponderEvent,
|
2455 | 2455 | ) => boolean
|
2456 | 2456 | }
|
2457 |
| -declare function get<T extends TurboModule>(name: string): null | T | undefined |
| 2457 | +declare function get<Config extends {}>( |
| 2458 | + name: string, |
| 2459 | + viewConfigProvider: () => PartialViewConfig, |
| 2460 | +): HostComponent<Config> |
| 2461 | +declare function get_2<T extends TurboModule>( |
| 2462 | + name: string, |
| 2463 | +): null | T | undefined |
2458 | 2464 | declare function getAppKeys(): ReadonlyArray<string>
|
2459 | 2465 | declare function getColorScheme(): ColorSchemeName | null | undefined
|
2460 | 2466 | declare function getEnforcing<T extends TurboModule>(name: string): T
|
2461 | 2467 | declare function getRegistry(): Registry
|
2462 | 2468 | declare function getRunnable(appKey: string): null | Runnable | undefined
|
2463 | 2469 | declare function getSectionKeys(): ReadonlyArray<string>
|
2464 | 2470 | declare function getSections(): Runnables
|
| 2471 | +declare function getWithFallback_DEPRECATED<Config extends {}>( |
| 2472 | + name: string, |
| 2473 | + viewConfigProvider: () => PartialViewConfig, |
| 2474 | +): React.ComponentType<Config> |
2465 | 2475 | declare type hairlineWidth = typeof hairlineWidth
|
2466 | 2476 | declare type Handle = number
|
2467 | 2477 | declare type Headers = {
|
@@ -3215,6 +3225,9 @@ declare type NativeComponentOptions = {
|
3215 | 3225 | readonly paperComponentName?: string
|
3216 | 3226 | readonly paperComponentNameDeprecated?: string
|
3217 | 3227 | }
|
| 3228 | +declare namespace NativeComponentRegistry { |
| 3229 | + export { setRuntimeConfigProvider, get, getWithFallback_DEPRECATED } |
| 3230 | +} |
3218 | 3231 | declare type NativeComponentType<T extends {}> = HostComponent<T>
|
3219 | 3232 | declare type NativeDialogManagerAndroid = typeof NativeDialogManagerAndroid
|
3220 | 3233 | declare class NativeEventEmitter<
|
@@ -3570,6 +3583,13 @@ declare type parallel = typeof parallel
|
3570 | 3583 | declare type ParallelConfig = {
|
3571 | 3584 | stopTogether?: boolean
|
3572 | 3585 | }
|
| 3586 | +declare type PartialViewConfig = { |
| 3587 | + readonly bubblingEventTypes?: ViewConfig["bubblingEventTypes"] |
| 3588 | + readonly directEventTypes?: ViewConfig["directEventTypes"] |
| 3589 | + readonly supportsRawText?: boolean |
| 3590 | + readonly uiViewClassName: string |
| 3591 | + readonly validAttributes?: AttributeConfiguration |
| 3592 | +} |
3573 | 3593 | declare type PassiveCallback = (
|
3574 | 3594 | event: GestureResponderEvent,
|
3575 | 3595 | gestureState: PanResponderGestureState,
|
@@ -4623,6 +4643,15 @@ declare function setComponentProviderInstrumentationHook(
|
4623 | 4643 | declare function setEnabled(_doEnable: boolean): void
|
4624 | 4644 | declare function setLayoutAnimationEnabled(value: boolean): void
|
4625 | 4645 | declare function setRootViewStyleProvider(provider: RootViewStyleProvider): void
|
| 4646 | +declare function setRuntimeConfigProvider( |
| 4647 | + runtimeConfigProvider: (name: string) => |
| 4648 | + | null |
| 4649 | + | undefined |
| 4650 | + | { |
| 4651 | + native: boolean |
| 4652 | + verify: boolean |
| 4653 | + }, |
| 4654 | +): void |
4626 | 4655 | declare type setStyleAttributePreprocessor =
|
4627 | 4656 | typeof setStyleAttributePreprocessor
|
4628 | 4657 | declare function setSurfaceProps(
|
@@ -5586,7 +5615,7 @@ declare type TouchEventProps = {
|
5586 | 5615 | declare type TransformsStyle = ____TransformStyle_Internal
|
5587 | 5616 | declare interface TurboModule extends DEPRECATED_RCTExport<void> {}
|
5588 | 5617 | declare namespace TurboModuleRegistry {
|
5589 |
| - export { get, getEnforcing } |
| 5618 | + export { get_2 as get, getEnforcing } |
5590 | 5619 | }
|
5591 | 5620 | declare type TVViewPropsIOS = {
|
5592 | 5621 | readonly hasTVPreferredFocus?: boolean
|
@@ -6049,6 +6078,7 @@ export {
|
6049 | 6078 | MouseEvent, // d432147f
|
6050 | 6079 | NativeAppEventEmitter, // b4d20c1d
|
6051 | 6080 | NativeColorValue, // d2094c29
|
| 6081 | + NativeComponentRegistry, // b4954306 |
6052 | 6082 | NativeDialogManagerAndroid, // 6254873e
|
6053 | 6083 | NativeEventEmitter, // d72906cc
|
6054 | 6084 | NativeEventSubscription, // de3942e7
|
@@ -6173,7 +6203,7 @@ export {
|
6173 | 6203 | TouchableWithoutFeedbackProps, // 26d3cf4e
|
6174 | 6204 | TransformsStyle, // 65e70f18
|
6175 | 6205 | TurboModule, // dfe29706
|
6176 |
| - TurboModuleRegistry, // badfcca2 |
| 6206 | + TurboModuleRegistry, // 4ace6db2 |
6177 | 6207 | UIManager, // 8d2c8281
|
6178 | 6208 | UTFSequence, // baacd11b
|
6179 | 6209 | Vibration, // 315e131d
|
|
0 commit comments