#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(PixelData, NSObject)

RCT_EXTERN_METHOD(getPixelData:(NSDictionary *)options
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(batchGetPixelData:(NSArray *)optionsArray
                  batchOptions:(NSDictionary *)batchOptions
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

+ (BOOL)requiresMainQueueSetup
{
  return NO;
}

@end
