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 8 #import "ABI49_0_0RCTBridgeModule.h" 9 10 @class ABI49_0_0RCTBundleManager; 11 @class ABI49_0_0RCTCallableJSModules; 12 @class ABI49_0_0RCTModuleRegistry; 13 @class ABI49_0_0RCTViewRegistry; 14 15 /** 16 ABI49_0_0RCTBridgeModuleDecorator contains instances that can be initialized with @synthesize 17 in ABI49_0_0RCTBridgeModules. For the Fabric interop layer. 18 19 In Bridgeless, @synthesize ivars are passed from ABI49_0_0RCTBridgeModuleDecorator. 20 In Bridge, @synthesize ivars are passed from ABI49_0_0RCTModuleData. 21 */ 22 @interface ABI49_0_0RCTBridgeModuleDecorator : NSObject 23 @property (nonatomic, strong, readonly) ABI49_0_0RCTViewRegistry *viewRegistry_DEPRECATED; 24 @property (nonatomic, strong, readonly) ABI49_0_0RCTModuleRegistry *moduleRegistry; 25 @property (nonatomic, strong, readonly) ABI49_0_0RCTBundleManager *bundleManager; 26 @property (nonatomic, strong, readonly) ABI49_0_0RCTCallableJSModules *callableJSModules; 27 28 - (instancetype)initWithViewRegistry:(ABI49_0_0RCTViewRegistry *)viewRegistry 29 moduleRegistry:(ABI49_0_0RCTModuleRegistry *)moduleRegistry 30 bundleManager:(ABI49_0_0RCTBundleManager *)bundleManager 31 callableJSModules:(ABI49_0_0RCTCallableJSModules *)callableJSModules; 32 33 - (void)attachInteropAPIsToModule:(id<ABI49_0_0RCTBridgeModule>)bridgeModule; 34 35 @end 36