@class UIView, _UITextSelectionRangeAdjustmentContainerView, NSString, _UITextSelectionHighlightView, _UITextCursorTrailingGlowView, UITextCursorAssertionController, _UIContainerWindowPortalInteraction, _UICursorAccessoryViewController, NSArray, _UIAssertionController, _UITextFloatingCursorSession, _UITextCursorView; @protocol UITextCursorView, UITextInput, UITextSelectionDisplayInteractionDelegate, UITextSelectionHighlightView, UITextCursorAssertion; @interface UITextSelectionDisplayInteraction : NSObject { struct { unsigned char selectionContainerViewBelowText : 1; unsigned char activeSelection : 1; unsigned char obtainBlinkSuppressionAssertion : 1; unsigned char obtainGhostCursorAssertion : 1; } _delegateRespondsTo; struct { unsigned char selectionContainerViewAboveText : 1; unsigned char selectionContainerView : 1; unsigned char selectionClipRect : 1; } _viewRespondsTo; struct { unsigned char shouldSuppressSelectionHandles : 1; unsigned char visibleRangeWithLayout : 1; unsigned char nsrangeForTextRange : 1; unsigned char unobscuredContentRect : 1; unsigned char textLayoutManager : 1; unsigned char caretTransformForPosition : 1; } _textInputRespondsTo; BOOL _needsUpdate; BOOL _cursorAccessoryViewHidden; BOOL _hiddenForApplicationSuspend; BOOL _didInstallManagedSubviews; BOOL _cursorFadedHiddenForFloatingCursor; _UITextSelectionRangeAdjustmentContainerView *_rangeAdjustmentViewContainer; UIView *_cursorView; UIView *_highlightView; _UITextSelectionHighlightView *_underlineView; _UICursorAccessoryViewController *_cursorAccessoryViewController; NSArray *_managedSubviewsAboveText; NSArray *_managedSubviewsBelowText; _UIAssertionController *_assertionController; _UITextFloatingCursorSession *_activeFloatingCursorSession; BOOL _didInitializeManagedDictationViews; _UITextCursorTrailingGlowView *_trailingGlowView; unsigned long long _activeIndicators; id _showInputModesCursorAssertion; id _showDeleteButtonCursorAssertion; id __dictationBlinkSuppressionAssertion; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } __previousCursorFrame; } @property (readonly, nonatomic) _UITextCursorTrailingGlowView *_trailingGlowView; @property (nonatomic) BOOL cursorBlinks; @property (nonatomic) BOOL cursorVisible; @property (nonatomic) BOOL ghostAppearance; @property (nonatomic) unsigned long long activeIndicators; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, nonatomic) _UITextCursorView *_cursorView; @property (readonly, nonatomic) _UITextSelectionHighlightView *_highlightView; @property (readonly, nonatomic) _UITextSelectionHighlightView *_underlineView; @property (readonly, nonatomic) _UITextSelectionHighlightView *_existingUnderlineView; @property (readonly, nonatomic) _UITextSelectionRangeAdjustmentContainerView *_rangeAdjustmentViewContainer; @property (readonly, nonatomic) UITextCursorAssertionController *_cursorAssertionController; @property (nonatomic, getter=isCursorHidden) BOOL cursorHidden; @property (readonly, nonatomic, getter=_isCursorVisible) BOOL _cursorVisible; @property (readonly, nonatomic, getter=_isCursorAccessoryViewVisible) BOOL _cursorAccessoryViewVisible; @property (nonatomic) int rangeViewMode; @property (readonly, nonatomic, getter=_caretRect) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } _caretRect; @property (readonly, nonatomic) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } textSelectionMenuSourceRect; @property (readonly, nonatomic, getter=_isDisplayingVerticalSelection) BOOL _displayingVerticalSelection; @property (readonly, nonatomic) _UICursorAccessoryViewController *_cursorAccessoryViewController; @property (nonatomic, setter=_setGlowViewMode:) int _glowViewMode; @property (retain, nonatomic) _UIContainerWindowPortalInteraction *cursorPortalInteraction; @property (retain, nonatomic) _UIContainerWindowPortalInteraction *trailingPortalInteraction; @property (nonatomic) BOOL _isDictationRunning; @property (nonatomic, getter=isActivated) BOOL activated; @property (readonly, weak, nonatomic) id textInput; @property (readonly, weak, nonatomic) id delegate; @property (retain, nonatomic) UIView *cursorView; @property (retain, nonatomic) UIView *highlightView; @property (retain, nonatomic) NSArray *handleViews; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, weak, nonatomic) UIView *view; + (BOOL)isModernSelectionViewEnabled; + (BOOL)isTextAccelerationUIEnabled; - (BOOL)assertionActivationStateForType:(unsigned long long)a0; - (void)dealloc; - (void)assertionActivationStateChangedToState:(BOOL)a0 forType:(unsigned long long)a1; - (void)didMoveToView:(id)a0; - (void)_updateDelegateConformance; - (void)willMoveToView:(id)a0; - (id)_selectedRange; - (id)textRangeAdjustmentViewForEdge:(unsigned long long)a0; - (void).cxx_destruct; - (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; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })textRangeAdjustmentRectForEdge:(unsigned long long)a0; - (void)_dictationDidBeginNotification:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })paddedTextRangeAdjustmentHitRegionForEdge:(unsigned long long)a0 precision:(unsigned long long)a1; - (id)_internalDelegate; - (struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; })_caretTransform; - (void)_dictationDidPauseNotification:(id)a0; - (BOOL)_shouldHitTestSelectionGrabbers; - (id)_visibleSelectionRectsForRange:(id)a0; - (id)_activeSelection; - (id)_allManagedSubviews; - (id)_beginFloatingCursorSessionAtPoint:(struct CGPoint { double x0; double x1; })a0 inContainer:(id)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_caretRectAtStartOfLine; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_caretRectForDictationTrailingGlowView; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_caretRectForPosition:(id)a0; - (BOOL)_clientManagesSelectionViewSubviewOrder; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_contentBoundsForPlacement:(long long)a0; - (void)_cursorAccessoryViewController:(id)a0 didActivateCursorAccessory:(id)a1; - (void)_dictationDidFinishNotification:(id)a0; - (void)_dictationDidResumeNotification:(id)a0; - (void)_didReceiveApplicationWillResumeNotification:(id)a0; - (void)_didReceiveApplicationWillSuspendNotification:(id)a0; - (void)_enableDictationPortalViews; - (void)_filterArchivedSubviews:(id)a0; - (id)_hostViewAboveText; - (id)_hostViewBelowText; - (id)_initWithTextInput:(id)a0 delegate:(id)a1 activated:(BOOL)a2; - (void)_initializeDictationSupport; - (void)_initializeManagedDictationViewsIfNecessary; - (void)_installManagedSubviewsIfNecessary; - (BOOL)_isHighlightVisible; - (BOOL)_isManagedSelectionSubview:(id)a0; - (BOOL)_isRangeAdjustmentUIVisible; - (struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; })_lollipopTransformForSelectionRect:(id)a0 view:(id)a1; - (id)_managedSubviewsAboveText; - (id)_managedSubviewsBelowText; - (id)_managedViewForType:(long long)a0; - (id)_obtainGhostCursorAssertion; - (id)_obtainGrabberSuppressionAssertion; - (id)_obtainHideCursorAccessoriesAssertionWithReason:(id)a0; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_paddedEdgeInsetsForGrabberDirection:(unsigned long long)a0 isVertical:(BOOL)a1 scale:(double)a2; - (void)_removeManagedSubviews; - (void)_resetDictationPortalViews; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_selectionClipRectAt:(long long)a0; - (void)_setCursorFadedHiddenForFloatingCursor:(BOOL)a0 animated:(BOOL)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_textInputRectInSelectionViewCoordinateSpace:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_textRangeAdjustmentRectForEdge:(unsigned long long)a0 selectionRects:(id)a1; - (id)_tintColorOrDefault:(id)a0; - (id)_tintColorOrDefault:(id)a0 alpha:(double)a1; - (void)_trackingViewportDidLayout:(id)a0; - (struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; })_transformRelativeToTextInputCoordinateSpace:(struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; })a0 forView:(id)a1; - (void)_updateDictationUI; - (void)_updateSelectionIfNeeded; - (void)_updateTextInputConformance; - (void)_updateViewConformance; - (void)clearDeleteButtonCursorAssertion; - (void)clearInputModeCursorAssertion; - (void)cursorAccessoryViewController:(id)a0 didActivateCursorAccessory:(id)a1; - (id)initWithTextInput:(id)a0 delegate:(id)a1; - (id)inputModeForDictationLanguage:(id)a0; - (void)layoutManagedSubviews; - (id)obtainBlinkSuppressionAssertionForReason:(id)a0; - (void)setActiveIndicators:(unsigned long long)a0 animationStyle:(long long)a1; - (void)setNeedsSelectionUpdate; @end