@class NSMutableDictionary, RTIInputSourceState, NSDictionary, RTIDocumentTraits, UIKeyboardTaskSubqueue, NSMutableArray, NSString, RTIDocumentState, TIKeyboardOutput, NSNumber, UIKeyboardTaskExecutionContext, RTIInputSystemClient, NSUUID; @protocol UIKBRTIPartnerDelegate; @interface UIKBRTIPartner : NSObject <RTIInputSystemClientDelegate, RTIInputSystemSessionDelegate, _UIGeometryChangeObserver> { RTIDocumentTraits *_remoteDocumentTraits; NSNumber *_cachedHasPreviousKeyResponder; NSNumber *_cachedHasNextKeyResponder; struct __CFStringTokenizer { } *_wkRectTokenizer; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock; UIKeyboardTaskExecutionContext *_waitingRTIOutputOperationResponseContext; UIKeyboardTaskSubqueue *_keyboardTaskSubqueue; NSDictionary *_pendingDisableBecomeFirstResponderParameters; BOOL _dontTakeKeyboardSnapshot; BOOL _applicationDeactivationReasonAssistant; long long _id; } @property (copy, nonatomic) NSUUID *currentSessionIdentifier; @property (nonatomic) BOOL isObservingGeometry; @property (nonatomic) BOOL cacheHitTestsAsOpaque; @property (retain, nonatomic) NSMutableDictionary *rtiSessionMarkers; @property (retain, nonatomic) NSMutableDictionary *supplementalLexicons; @property (retain, nonatomic) NSMutableDictionary *textSuggestions; @property (retain, nonatomic) NSMutableArray *queuedSupplementalLexiconOperations; @property (retain, nonatomic) UIKeyboardTaskSubqueue *keyboardTaskSubqueue; @property (weak, nonatomic) id<UIKBRTIPartnerDelegate> partnerDelegate; @property (nonatomic) BOOL inputSystemClientEnabled; @property (readonly, nonatomic) BOOL isNotifyingDelegateOfRemoteOutputOperation; @property (retain, nonatomic) RTIInputSystemClient *rtiClient; @property (retain, nonatomic) RTIDocumentTraits *rtiDocumentTraits; @property (retain, nonatomic) RTIDocumentState *rtiDocumentState; @property (readonly, nonatomic) RTIInputSourceState *rtiInputSourceState; @property (nonatomic) BOOL applicationStateIsActiveForRTI; @property (nonatomic) BOOL viewServiceStateIsActiveForRTI; @property (retain, nonatomic) TIKeyboardOutput *pendingOutputOperation; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (void)registerTextOperationCustomInfo; - (void)applyAssistantItem:(id)a0; - (void)forwardKeyboardCameraEvent_startCameraInput:(id)a0; - (void)connectionInterrupted:(id)a0; - (void)inputSession:(id)a0 didAddRTISupplementalLexicon:(id)a1; - (void)inputSession:(id)a0 didRemoveRTISupplementalLexicon:(id)a1; - (void)inputSession:(id)a0 documentTraitsDidChange:(id)a1; - (void)inputSession:(id)a0 performInputOperation:(id)a1 withResponse:(id /* block */)a2; - (void)inputSession:(id)a0 textSuggestionsChanged:(id)a1; - (void)inputSession:(id)a0 performInputOperation:(id)a1; - (void)inputSession:(id)a0 documentStateDidChange:(id)a1; - (void)_updateRTIStateWithCompletion:(id /* block */)a0; - (id)insertionPointColor; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_selectionClipRect; - (void)_queryWKDocumentRequest:(id)a0 completion:(id /* block */)a1; - (id)exchangeWaitingRTIOutputOperationResponseContext:(id)a0; - (void)beginInputSessionWithIdentifier:(id)a0; - (void)endAllowingRemoteTextInput:(id)a0 waitForReply:(BOOL)a1; - (id)init; - (void)forwardAutofillPayload:(id)a0 toPayloadDelegate:(id)a1; - (void)dealloc; - (void)forwardInputDestinationEventToUIHost:(SEL)a0; - (id)delegate; - (id)inputDelegate; - (BOOL)synchronousForwardKeyInputMethodCommandEventToUIHost:(id)a0 canHandleAppKeyCommand:(BOOL)a1; - (BOOL)_remoteInputSystemRequiresDocumentStateUpdates; - (void)performTextOperations:(id)a0; - (id)textOperation_insertSupplementalCandidate:(id)a0 textToCommit:(id)a1; - (void)_addTextCheckingAnnotatedStringToDocumentState:(id)a0; - (void)didRemoveSupplementalLexicon:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })convertRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 from:(id)a1; - (id)_newInputSystemAutoFillUIClient; - (void)_didCreateRTIClient:(id)a0; - (BOOL)remoteTextInputClientHasActiveSession; - (void)forwardEventCallbackToRemoteSource_didChooseSupplementalItem:(id)a0 toReplaceText:(id)a1; - (void)forwardSelectorToUIHost:(SEL)a0 completionHandler:(id /* block */)a1; - (void)endInputSessionWithIdentifier:(id)a0 shouldResign:(BOOL)a1 waitForReply:(BOOL)a2; - (BOOL)_remoteInputSystemRequiresDocumentStateForAutofill; - (BOOL)_updateRTITraitsIfNecessary; - (id)autofillPayloadDelegate; - (id)textOperation_cancelChooseSupplementalItemToInsert; - (void)updateAnimationForOptions:(id)a0; - (void)forwardKeyboardInputMode:(id)a0; - (void)finishCompletionHandlersIfNeeded; - (void)invalidate; - (void)_addAutocorrectStylingToDocumentState:(id)a0; - (BOOL)_remoteInputSystemRequiresTextSuggestionUpdates; - (void)_applicationDidRemoveDeactivationReason:(id)a0; - (unsigned int)_performKeyboardOutputOperations:(id)a0; - (BOOL)synchronousForwardKeyCommandsBeforePublicToUIHost:(id)a0; - (BOOL)compareWaitingRTIOutputOperationResponseContext:(id)a0 andExchange:(id)a1; - (void)_macWindowChangedKey:(id)a0; - (void)applyRemoteDocumentTraitsIfNecessary:(id)a0 force:(BOOL)a1; - (void)updateStateWithCompletion:(id /* block */)a0 updateTraits:(BOOL)a1; - (long long)_uiTextGranularityForRTITextGranularity:(long long)a0; - (void)_updateGeometryObserverIfNecessary; - (void)addTextSuggestions:(id)a0; - (void)forwardKeyboardEventToUIHost:(id)a0; - (void)documentStateChanged:(BOOL)a0; - (void)removeTextSuggestionsForSessionWithID:(id)a0; - (void)performDocumentRequest:(id)a0 completion:(id /* block */)a1; - (id)_newInputSystemUIClient; - (void)_applicationWillAddDeactivationReason:(id)a0; - (void)_addFirstSelectionRectToDocumentState:(id)a0; - (void)_queued_performTextOperations:(id)a0 resultHandler:(id /* block */)a1; - (void)restartCurrentSession; - (void)_screenModeDidChange:(id)a0; - (void)forwardKeyboardSuppression:(BOOL)a0 suppressAssistantBar:(BOOL)a1; - (void)applyRemoteDocumentStateIfNecessary:(id)a0 force:(BOOL)a1; - (void)_queryUIKitDocumentRequest:(id)a0 completion:(id /* block */)a1; - (void)ensureRTIConnection; - (id)_newRTIConnection; - (void)defaultDocumentRequestDidChange:(id)a0; - (id)textOperation_insertAutofillContent:(id)a0; - (void)endInputSessionOnSwitchingApps; - (void)documentTraitsChanged; - (void)forwardClearForwardingInputDelegateAndResign:(BOOL)a0; - (void)didAddSupplementalLexicon:(id)a0; - (void)_queueSupplementalLexiconOperation:(unsigned long long)a0 lexicon:(id)a1; - (void)_addMergedTextRectsToDocumentState:(id)a0 forWKContext:(id)a1 textInputView:(id)a2 granularity:(long long)a3; - (void)performInputOperation:(id)a0; - (void)performTextOperations:(id)a0 resultHandler:(id /* block */)a1; - (void).cxx_destruct; - (void)forwardGrammarCorrectionEntries:(id)a0; - (void)forwardKeyboardOperation:(SEL)a0 object:(id)a1; - (void)forwardDictationEventToUIHost:(SEL)a0 withOptionalObject:(id)a1; - (void)forwardTypologyLogURL:(id)a0; - (void)forwardEventToRemoteSource_canSuggestSupplementalItemsForCurrentSelection:(BOOL)a0; - (id)textOperation_insertionPointExitedTextWithSupplementalItems; - (void)_geometryChanged:(const struct { int x0; struct CGPoint { double x0; double x1; } x1; struct CGPoint { double x0; double x1; } x2; struct CGSize { double x0; double x1; } x3; struct CGPoint { double x0; double x1; } x4; struct CATransform3D { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; double x12; double x13; double x14; double x15; } x5; id x6; id x7; id x8; id x9; } *)a0 forAncestor:(id)a1; - (id)_defaultRTIMachNames; - (void)_viewServiceHostDidBecomeActive:(id)a0; - (void)_viewServiceHostWillResignActive:(id)a0; - (id)textOperation_insertionPointEnteredText:(id)a0 withSupplementalCandidate:(id)a1; - (id)payloadDelegate; - (void)forwardInputDestinationEventToUIHost:(SEL)a0 params:(id)a1; - (void)_didRemoveSupplementalLexiconWithIdentifier:(unsigned long long)a0; - (void)forwardApplicationOperation:(SEL)a0 object:(id)a1; - (void)_applicationWillSuspend:(id)a0; - (id)textOperation_chooseSupplementalItem:(id)a0 toReplaceText:(id)a1; - (unsigned int)_ignoredReasonsForAutoFill; - (void)_updateRTIAllowedAndNotify:(BOOL)a0 withReason:(id)a1; - (void)_createRTIClientIfNecessary; - (void)endInputSessionWithIdentifier:(id)a0; - (void)endAllowingRemoteTextInput:(id)a0; - (void)_performQueuedSupplementalLexiconOperations; - (unsigned int)_ignoredReasonsForKeyboard; - (void)connectionInvalidated:(id)a0; - (id)inputDelegateView; - (void)endInputSessionWithIdentifier:(id)a0 shouldResign:(BOOL)a1; - (void)_addCharacterRectsToDocumentState:(id)a0 textRange:(id)a1 offset:(long long)a2; - (void)beginAllowingRemoteTextInput:(id)a0; - (void)_didAddSupplementalLexicon:(id)a0; - (void)_performDocumentRequest:(id)a0 completion:(id /* block */)a1; - (void)_createRTIClient; - (void)_queryDocumentRequest:(id)a0 completion:(id /* block */)a1; - (void)documentStateChanged; - (void)textSuggestionsChanged:(id)a0; - (BOOL)synchronousForwardKeyCommandsToUIHost:(id)a0; - (void)updateTextSuggestionsIfNecessary:(id)a0; @end