/* * 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. */ #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> * (^)(void))getLoaders decodersProvider:(NSArray> * (^)(void))getDecoders; @end /** * DEPRECATED!! DO NOT USE * Instead use `[_bridge moduleForClass:[RCTImageLoader class]]` */ @interface RCTBridge (RCTImageLoader) @property (nonatomic, readonly) RCTImageLoader *imageLoader; @end