text: #import <Foundation/NSObject.h>
  
  @import Foundation;
  @import JavaScriptCore;
  
  @protocol JSBNSObject;
  
  @protocol JSBNSNotificationCenter <JSExport, JSBNSObject>
  
  #pragma clang diagnostic push
  #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  
  + (instancetype)defaultCenter;
  
  - (instancetype)init;
  - (void)addObserver:(id)observer selector:(SEL)aSelector name:(NSString *)aName object:(id)anObject;
  - (void)postNotification:(NSNotification *)notification;
  - (void)postNotificationName:(NSString *)aName object:(id)anObject;
  - (void)postNotificationName:(NSString *)aName object:(id)anObject userInfo:(NSDictionary *)aUserInfo;
  - (void)removeObserver:(id)observer;
  - (void)removeObserver:(id)observer name:(NSString *)aName object:(id)anObject;
  - (id)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *note))block;
  
  #pragma clang diagnostic pop
  
  @end
  