@class FBSSceneIdentityToken, FBSSceneLayer, _UIKeyboardUIInformation, NSObject, RBSProcessMonitor, NSMutableArray, _UIKeyboardChangedInformation, NSString, NSMutableOrderedSet, FBSWorkspace, NSXPCListener, FBSScene, _UIKeyboardArbiterClientHandle; @protocol _UIKeyboardArbiterOmniscientDelegate, _UIKeyboardArbiterLink, _UIKeyboardArbiterSceneDelegate, OS_dispatch_queue; @interface _UIKeyboardArbiter : NSObject { NSObject *_queue; NSXPCListener *_listener; NSMutableArray *_clients; _UIKeyboardArbiterClientHandle *_newlyConnectedActiveHandle; _UIKeyboardArbiterClientHandle *_previouslyActiveHandle; int _currentFocusPID; FBSSceneIdentityToken *_currentFocusSceneIdentity; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _pendingFocusLock; unsigned long long _pendingFocusLock_generation; int _pendingFocusLock_PID; FBSSceneIdentityToken *_pendingFocusLock_sceneIdentity; _UIKeyboardArbiterClientHandle *_lastActivatedHandle; NSMutableOrderedSet *_recentlyActiveSceneIdentities; FBSWorkspace *_workspace; FBSScene *_scene; int _updateCounter; RBSProcessMonitor *_processMonitor; long long _lastEventSource; FBSSceneLayer *_sceneLayer; _UIKeyboardArbiterClientHandle *_disablingHandle; _UIKeyboardUIInformation *_lastUIInformation; NSString *_pendingBundleIdentifier; id /* block */ _pendingNotifyKeyboardChanged; } @property (retain, nonatomic) _UIKeyboardChangedInformation *lastUpdate; @property (readonly, weak) _UIKeyboardArbiterClientHandle *activeInputDestinationHandle; @property (readonly, weak) _UIKeyboardArbiterClientHandle *focusRequestedHandle; @property (readonly) FBSSceneLayer *sceneLayer; @property (weak, nonatomic) _UIKeyboardArbiterClientHandle *keyboardUIHandle; @property (nonatomic) unsigned long long keyboardScenePresentationMode; @property (readonly, nonatomic) id<_UIKeyboardArbiterLink> sceneLink; @property (weak, nonatomic) id<_UIKeyboardArbiterOmniscientDelegate> omniscientDelegate; @property (weak, nonatomic) id<_UIKeyboardArbiterSceneDelegate> sceneDelegate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, nonatomic) int presentingKeyboardProcessIdentifier; + (BOOL)unitTestEnvironment; + (void)configureEncodedClassesForXPCConnection:(id)a0; - (void)updateInterestedBundleIDs; - (id)_currentFocusedHandle; - (void)_updateCurrentKeyboardFocusToPID:(int)a0 sceneIdentity:(id)a1; - (void)attemptConnection; - (void)dealloc; - (id)initWithLink:(id)a0; - (void)captureStateForDebug; - (void)notifyHeightUpdated:(id)a0; - (id)_descriptionWithScene:(BOOL)a0; - (void)keyboardFocusDidChangeWithoutAdvisorInputToPid:(int)a0 sceneIdentity:(id)a1; - (id)preferredSceneIdentityForKeyboardFocusWithChangeInformation:(id)a0; - (void)setKeyboardTotalDisable:(BOOL)a0 withFence:(id)a1 fromHandler:(id)a2 completionHandler:(id /* block */)a3; - (void)updateSuppression:(BOOL)a0 ofPIDs:(id)a1 active:(BOOL)a2; - (void)_cullRecentlyActiveSceneIdentities; - (void)reevaluateHardwareKeyboardClientStealingKeyboardOnSuccess:(BOOL)a0; - (BOOL)listener:(id)a0 shouldAcceptNewConnection:(id)a1; - (id)hostBundleIdentifierForHandle:(id)a0 hosts:(id)a1; - (id)hostForHandle:(id)a0 hosts:(id)a1; - (void)retrieveDebugInformationWithCompletion:(id /* block */)a0; - (void)_findForHandle:(id)a0 deepestHandleHandler:(id /* block */)a1; - (void)runOperations:(id /* block */)a0 onHandler:(id)a1 fromFunction:(const char *)a2; - (void)scheduleWindowTimeout; - (void)resume; - (void)processWithPID:(int)a0 foreground:(BOOL)a1 suspended:(BOOL)a2; - (void)handleUnexpectedDeallocForHandler:(id)a0; - (void)updateKeyboardStatus:(id)a0 fromHandler:(id)a1; - (id)handlerForPID:(int)a0; - (void)newClientConnected:(id)a0 withExpectedState:(id)a1 onConnected:(id /* block */)a2; - (void)handlerRequestedForcedClientSceneIdentityUpdate:(id)a0; - (id)remoteFocusContext; - (void)updateKeyboardSceneSettings; - (void).cxx_destruct; - (void)_findForHandle:(id)a0 deepestHandleHandler:(id /* block */)a1 checklist:(id)a2; - (void)retrieveClientDebugInformationWithCompletion:(id /* block */)a0; - (void)updateSceneClientSettings:(id)a0; - (void)_arbiterQueue_keyboardFocusDidChangeWithoutAdvisorInputForGeneration:(unsigned long long)a0 pid:(int)a1 sceneIdentity:(id)a2; - (id)_activeHandleForFocusEvaluation; - (void)reevaluateSceneClientSettings; - (id)handlerForBundleID:(id)a0; - (void)prewarmFocusContext; - (void)_trackRecentlyActiveArbiterHandle:(id)a0; - (void)_applyPendingSceneFocusUpdateFromOmniscientDelegateForGeneration:(unsigned long long)a0; - (BOOL)activateHandle:(id)a0; - (BOOL)deactivateHandle:(id)a0; - (void)transition:(id)a0 eventStage:(unsigned long long)a1 withInfo:(id)a2 fromHandler:(id)a3; - (void)updateKeyboardUIStatus:(id)a0 fromHandler:(id)a1; - (id)lastActivatedHandle; - (void)setSuppressionCount:(int)a0 ofPIDs:(id)a1; - (void)checkHostingState; - (void)activateClients; - (void)signalEventSourceChanged:(long long)a0 fromHandler:(id)a1 completionHandler:(id /* block */)a2; - (id)focusContext; - (void)reevaluateFocusedSceneIdentityForKeyboardFocusWithChangeInformation:(id)a0 stealingKeyboardOnSuccess:(BOOL)a1; - (id)handlerForToken:(id)a0; - (void)completeKeyboardStatusChangedFromHandler:(id)a0; - (void)handlerRequestedFocus:(id)a0 shouldStealKeyboard:(BOOL)a1; - (void)updateSuppression:(BOOL)a0 ofPID:(id)a1 active:(BOOL)a2; @end