/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import #import #import #import #import #import #import #import #import #import @interface RCTImageLoader : NSObject - (instancetype)init; - (instancetype)initWithRedirectDelegate:(id)redirectDelegate NS_DESIGNATED_INITIALIZER; - (instancetype)initWithRedirectDelegate:(id)redirectDelegate loadersProvider:(NSArray> * (^)(RCTModuleRegistry *))getLoaders decodersProvider:(NSArray> * (^)(RCTModuleRegistry *))getDecoders; @end /** * DEPRECATED!! DO NOT USE * Instead use `[_bridge moduleForClass:[RCTImageLoader class]]` */ @interface RCTBridge (RCTImageLoader) @property (nonatomic, readonly) RCTImageLoader *imageLoader; @end