@class NSXPCListener, FBSDisplayLayoutMonitor, NSMutableDictionary, NSDictionary, NSString, PKPencilTouchDetectionGestureRecognizer, NSUserDefaults; @interface PKPencilTouchDetectionService : NSObject @property (retain, nonatomic) NSXPCListener *listener; @property (nonatomic) BOOL isListening; @property (retain, nonatomic) FBSDisplayLayoutMonitor *displayLayoutMonitor; @property (nonatomic) BOOL wereFrontBoardOverlaysEnabled; @property (retain, nonatomic) PKPencilTouchDetectionGestureRecognizer *detectionGesture; @property (retain, nonatomic) NSUserDefaults *pencilDefaults; @property (retain, nonatomic) NSMutableDictionary *timestamps; @property (retain, nonatomic) NSDictionary *userInfoForNotification; @property (nonatomic) double activePencilUsageTimestamp; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)sharedInstance; + (void)beginObservingTouchesForDetection; - (void)reset:(id)a0; - (id)init; - (void)dealloc; - (BOOL)listener:(id)a0 shouldAcceptNewConnection:(id)a1; - (void).cxx_destruct; - (void)_nop:(id)a0; - (void)loadDefaultsIfNecessary; - (void)_updateActivePencilUsageForTouchType:(long long)a0; - (void)loadTimestampsIfNecessary; - (void)pencilType:(long long)a0 hasRecentlyBeenUsedWithCompletionHandler:(id /* block */)a1; - (void)persistTimestamps; - (void)postUpdateNotificationIfNecessary; - (void)resumeConnectionIfIdle; - (id)stringForTouchDetectionPencilType:(long long)a0; - (BOOL)timestampIndicatesRecentUsage:(id)a0; - (void)updateTimestampForType:(long long)a0; @end