@class NSTimer, NSString, _UITextSelectionHighlightView, UITextInteractionAssistant, NSMutableDictionary, _UITextChoiceAccelerationBubble, UITextRange, NSMutableArray, UITextPosition, TIAutocorrectionList, UIResponder, TIKeyboardCandidate; @protocol _UITextChoicesAssistantDelegate, UITextInput, _UIAssertion; @interface _UITextChoiceAccelerationAssistant : NSObject @property (retain, nonatomic) _UITextChoiceAccelerationBubble *prompt; @property (nonatomic) BOOL keepPromptActive; @property (retain, nonatomic) NSString *documentTextToReplace; @property (retain, nonatomic) UITextRange *lastRange; @property (retain, nonatomic) TIAutocorrectionList *lastList; @property (retain, nonatomic) NSMutableArray *underlinedRanges; @property (retain, nonatomic) NSMutableDictionary *savedLists; @property (retain, nonatomic) NSMutableDictionary *underlinedWordData; @property (retain, nonatomic) UITextPosition *lastAddedPosition; @property (retain, nonatomic) NSTimer *promptDisplayTimer; @property (weak, nonatomic) id<_UIAssertion> grabberSuppressionAssertion; @property (retain, nonatomic) _UITextSelectionHighlightView *selectionHighlightView; @property (nonatomic) BOOL needsUpdate; @property (weak, nonatomic) id<_UITextChoicesAssistantDelegate> delegate; @property (readonly, weak, nonatomic) UITextInteractionAssistant *interactionAssistant; @property (readonly, weak, nonatomic) UIResponder<UITextInput> *textInputResponder; @property (readonly, nonatomic) TIKeyboardCandidate *candidate; - (id)init; - (id)selectionRectsForRange:(id)a0; - (id)_rangeOfText:(id)a0 endingAtPosition:(id)a1; - (id)textInputView; - (void).cxx_destruct; - (id)initWithInteractionAssistant:(id)a0; - (void)addUnderlineForCandidate:(id)a0 range:(id)a1; - (void)removeUnderlinesBeforePosition:(id)a0; - (void)updateUnderlineGeometryIfNeeded; - (void)_addUnderlineView; - (id)_document; - (id)_existingUnderlineView; - (void)_removeUnderlinesRelativeToPosition:(id)a0 compare:(long long)a1; - (id)_underlineView; - (void)activateUnderlineViewIfNeeded; - (void)addList:(id)a0 forCandidate:(id)a1; - (void)addUnderlinesForRects:(id)a0 forCandidate:(id)a1 range:(id)a2; - (void)adjustRangesAfterPosition:(id)a0 byOffset:(long long)a1; - (id)alternateCorrectionsForList:(id)a0; - (id)anchorRangeForText:(id)a0; - (id)autocorrectionForList:(id)a0; - (void)cancelPromptDisplay; - (id)candidateForFinalString:(id)a0; - (void)clearUnderlineForPosition:(id)a0; - (void)clearUnderlinesIfNeededBeforePosition:(id)a0; - (void)clearUnderlinesInRange:(id)a0 animated:(BOOL)a1; - (id)currentKeyboardSceneDelegate; - (id)defaultUnderlineColor; - (BOOL)dismissIfPresented; - (void)dismissWithoutSelection; - (void)fullAutocorrectionForWord:(id)a0 atPosition:(id)a1 completionHandler:(id /* block */)a2; - (void)informAnalyticsOfCompletedCandidateReplacement; - (void)informAnalyticsOfUpcomingCandidateReplacement; - (id)initWithTextInputResponder:(id)a0; - (id)keyFromRange:(id)a0; - (id)listForFinalString:(id)a0; - (id)parentViewForPrompt; - (BOOL)positionIsAtDocumentStart:(id)a0; - (void)presentIfNeededForRange:(id)a0; - (BOOL)presentTextChoicePromptForText:(id)a0 delay:(double)a1 autocorrectionRects:(id)a2; - (id)rangeForTextChoicesAtPosition:(id)a0; - (id)rangeOfAutocorrectionForString:(id)a0 atPosition:(id)a1 inDocument:(id)a2; - (void)refreshExistingUnderlines; - (void)releaseSelectionGrabberAssertion; - (void)removeActivePromptAndUnderline; - (void)removeAllUnderlines; - (void)removeUnderlinesAfterPosition:(id)a0; - (void)removeWordForRange:(id)a0; - (void)removeWordForRange:(id)a0 animated:(BOOL)a1; - (id)selectionViewManager; - (void)setNeedsUnderlineUpdate; - (void)shouldShowPromptForWebKitText:(id)a0 atPosition:(id)a1 completionHandler:(id /* block */)a2; - (BOOL)showChoicesForAutocorrectionCandidate:(id)a0 range:(id)a1; - (BOOL)showChoicesForAutocorrectionCandidate:(id)a0 range:(id)a1 delay:(double)a2; - (BOOL)showChoicesForTextInRange:(id)a0; - (BOOL)showChoicesForTextInRange:(id)a0 withReplacements:(id)a1 delay:(double)a2; - (BOOL)showPromptForReplacementCandidate:(id)a0; - (BOOL)showPromptForReplacementCandidate:(id)a0 delay:(double)a1; - (BOOL)showPromptForReplacementCandidate:(id)a0 originalCandidate:(id)a1 delay:(double)a2; - (BOOL)showingAutocorrectInlinePrompt; - (BOOL)showingPrompt; - (id)textHighlightColor; - (void)trackUnderlineForWebKitCandidate:(id)a0; - (id)underlineRectForTextSelectionRect:(id)a0 forCandidate:(id)a1; - (id)underlineRectFromDocumentRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (id)underlineRectsForCandidate:(id)a0 range:(id)a1; - (id)underlineRectsForInput:(id)a0; - (void)underlineTextInRange:(id)a0 revertText:(id)a1; - (void)updateActivePromptForCandidate:(id)a0 displayRects:(id)a1 highlightOnly:(BOOL)a2; - (void)updateDocument; - (void)updatePromptForReplacementCandidate:(id)a0; - (void)updateReplacements:(id)a0 forCandidate:(id)a1; - (void)updateReplacementsForSavedCandidate:(id)a0; - (void)updateSelectedRects:(id)a0 byTrimmingWhitespaceInRange:(id)a1 inDocument:(id)a2; - (void)updateSelectionHighlights; - (id)updateUnderlineRects:(id)a0 forRange:(id)a1; - (void)updateUnderlinesForAddedRange:(id)a0; - (void)updateUnderlinesIfNeededAfterPosition:(id)a0; @end