#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "RNNStore.h"

@interface RNNModalManager : NSObject

@property (nonatomic, strong) UIViewController<RNNRootViewProtocol>* toVC;

-(instancetype)initWithStore:(RNNStore*)store;
-(void)showModal:(UIViewController*)viewController completion:(RNNTransitionCompletionBlock)completion;
-(void)dismissModal:(NSString*)componentId;
-(void)dismissAllModals;

@end