#import "RNNLayoutInfo.h" #import "RNNBasePresenter.h" #import "RNNRootViewCreator.h" #import "RNNEventEmitter.h" typedef void (^RNNReactViewReadyCompletionBlock)(void); @protocol RNNLayoutProtocol @required - (instancetype)initWithLayoutInfo:(RNNLayoutInfo *)layoutInfo creator:(id)creator options:(RNNNavigationOptions *)options defaultOptions:(RNNNavigationOptions *)defaultOptions presenter:(RNNBasePresenter *)presenter eventEmitter:(RNNEventEmitter *)eventEmitter childViewControllers:(NSArray *)childViewControllers; - (void)renderTreeAndWait:(BOOL)wait perform:(RNNReactViewReadyCompletionBlock)readyBlock; - (UIViewController *)getCurrentChild; - (CGFloat) getTopBarHeight; - (void)mergeOptions:(RNNNavigationOptions *)options; - (RNNNavigationOptions *)resolveOptions; - (void)setDefaultOptions:(RNNNavigationOptions *)defaultOptions; - (void)overrideOptions:(RNNNavigationOptions *)options; - (void)onChildWillAppear; @end