@class NSString, NSObject, NSXPCConnection; @protocol OS_dispatch_queue, BKSAlternateSystemAppDelegate, OS_dispatch_semaphore; @interface BKSAlternateSystemApp : NSObject @property (copy, nonatomic) NSString *bundleId; @property (retain, nonatomic) NSXPCConnection *connection; @property (retain, nonatomic) NSObject *queue; @property (nonatomic) long long state; @property (nonatomic) BOOL stateChangeWaiter; @property (retain, nonatomic) NSObject *stateChangeSemaphore; @property (weak, nonatomic) id delegate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)terminate; - (void)dealloc; - (void)_queue_ensureConnection; - (void)activate; - (id)initWithBundleId:(id)a0; - (void).cxx_destruct; - (void)_queue_invalidate; - (void)_handleInterruptedConnection; - (void)_handleInvalidatedConnection; - (void)_queue_changeState:(long long)a0; - (void)_waitForState:(long long)a0; - (void)alternateSystemAppWithBundleID:(id)a0 didExitWithContext:(id)a1; - (void)alternateSystemAppWithBundleID:(id)a0 failedToOpenWithResult:(id)a1; - (void)alternateSystemAppWithBundleIDDidOpen:(id)a0; - (void)alternateSystemAppWithBundleIDDidTerminate:(id)a0; - (void)didBlockSystemAppForAlternateSystemApp; - (void)didUnblockSystemAppForAlternateSystemApp; @end