#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(AgeDeclarationModule, NSObject)

RCT_EXTERN_METHOD(setAgeThresholds:(NSArray *)thresholds
                  resolver:(RCTPromiseResolveBlock)resolver
                  rejecter:(RCTPromiseRejectBlock)rejecter)

RCT_EXTERN_METHOD(requestAgeRange:(RCTPromiseResolveBlock)resolver
                  rejecter:(RCTPromiseRejectBlock)rejecter)

RCT_EXTERN_METHOD(isSupported:(RCTPromiseResolveBlock)resolver
                  rejecter:(RCTPromiseRejectBlock)rejecter)

+ (BOOL)requiresMainQueueSetup
{
  return YES;
}

@end
