@class NSMutableDictionary, UIFont, _CNAtomTextAttachment, NSMutableArray, UIButton, UIView, CNAutocompleteSearchControllerOptions, NSString, UIColor, CNComposeDropTarget, UITextView, NSTimer, NSUndoManager, NSArray, _CNAtomTextView, CNComposeDragSource; @protocol CNComposeRecipientTextViewDelegate, NSObject; @interface CNComposeRecipientTextView : CNComposeHeaderView <UIContextMenuInteractionDelegate, UITextViewDelegate, NSLayoutManagerDelegate, CNComposeRecipientAtomDelegate, CNRecipientDraggingDelegate> { _CNAtomTextView *_textView; UITextView *_inactiveTextView; UIColor *_inactiveTextColor; CNAutocompleteSearchControllerOptions *_options; NSMutableArray *_atomViews; NSMutableDictionary *_atomPresentationOptionsByRecipient; NSMutableDictionary *_atomLayoutOptionsByRecipient; CNComposeDragSource *_dragSource; CNComposeDropTarget *_dropTarget; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _currentTextRect; long long _atomViewAnimationDepth; BOOL _parentIsClosing; BOOL _textViewExclusionPathsAreValid; BOOL _isTextFieldCollapsed; BOOL _collapsedStateInitialized; BOOL _notifyDelegateOfSizeChange; BOOL _addButtonWasTapped; NSTimer *_collapsableUpdateTimer; NSArray *_properties; NSMutableArray *_recipientsBeingRemoved; NSUndoManager *_undoManager; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _addButtonFrame; } @property (retain, nonatomic) _CNAtomTextAttachment *placeholderAttachment; @property (readonly, nonatomic) UIView *atomContainerView; @property (nonatomic) BOOL enabled; @property (nonatomic) BOOL keyboardIsHiding; @property (retain, nonatomic) id<NSObject> keyboardWillHideNotificationObserver; @property (retain, nonatomic) id<NSObject> keyboardDidHideNotificationObserver; @property (weak, nonatomic) id<CNComposeRecipientTextViewDelegate> delegate; @property (copy, nonatomic) NSArray *recipients; @property (copy, nonatomic) NSArray *addresses; @property (readonly, copy, nonatomic) NSArray *uncommentedAddresses; @property (nonatomic) BOOL usingActiveAppearance; @property (nonatomic, getter=isSeparatorHidden) BOOL separatorHidden; @property (nonatomic) BOOL expanded; @property (nonatomic) BOOL indicatesUnsafeRecipientsWhenCollapsed; @property (readonly, nonatomic) BOOL didIgnoreFirstResponderResign; @property (nonatomic) long long maxRecipients; @property (readonly, nonatomic) NSString *text; @property (readonly, nonatomic) UITextView *textView; @property (readonly, nonatomic) UIButton *addButton; @property (nonatomic) BOOL showsAddButtonWhenExpanded; @property (nonatomic) BOOL expandRecipientsInNamedGroups; @property (nonatomic) BOOL shouldAlwaysShowAddContactsButton; @property (readonly, nonatomic) double offsetForRowWithTextField; @property (readonly, nonatomic) unsigned long long numberOfRowsOfTextInField; @property (retain, nonatomic) UIFont *baseFont; @property (retain, nonatomic) UIColor *inactiveTextColor; @property (retain, nonatomic) UIColor *typingTextColor; @property (nonatomic) double trailingButtonMidlineInsetFromLayoutMargin; @property (nonatomic) int hideLastAtomComma; @property (nonatomic) BOOL editable; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)parentDidClose; - (void)selectAll:(id)a0; - (id)undoManager; - (void)dealloc; - (void)addRecipient:(id)a0; - (BOOL)isFirstResponder; - (BOOL)resignFirstResponder; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)setFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)setLabel:(id)a0; - (void)parentWillClose; - (BOOL)hasContent; - (id)contextMenuInteraction:(id)a0 configurationForMenuAtLocation:(struct CGPoint { double x0; double x1; })a1; - (void)setBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)_tapGestureRecognized:(id)a0; - (void)clearText; - (void).cxx_destruct; - (void)layoutManager:(id)a0 didCompleteLayoutForTextContainer:(id)a1 atEnd:(BOOL)a2; - (id)initWithOptions:(id)a0; - (BOOL)becomeFirstResponder; - (void)layoutSubviews; - (BOOL)canPerformAction:(SEL)a0 withSender:(id)a1; - (struct CGSize { double x0; double x1; })sizeThatFits:(struct CGSize { double x0; double x1; })a0; - (void)removeRecipient:(id)a0; - (void)_longPressGestureRecognized:(id)a0; - (BOOL)textView:(id)a0 shouldChangeTextInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 replacementText:(id)a2; - (void)textViewDidChange:(id)a0; - (void)textViewDidChangeSelection:(id)a0; - (void)addAddress:(id)a0; - (id)_baseAttributes; - (unsigned long long)_atomPresentationOptionsForRecipient:(id)a0; - (void)atomTextViewDidBecomeFirstResponder:(id)a0; - (id)atomViewForRecipient:(id)a0; - (id)atomViewsInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (BOOL)finishEnteringRecipient; - (void)invalidateAtomPresentationOptions; - (void)invalidateAtomPresentationOptionsForRecipient:(id)a0; - (void)_removeAllRecipients; - (void)reflow; - (void)composeRecipientAtomSelectNext:(id)a0; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 dragDropDelegate:(id)a1; - (double)labelTopPadding; - (void)_addAddressAtomSubview:(id)a0; - (void)_addButtonTapped:(id)a0; - (id)_atomAttachmentForRecipient:(id)a0; - (id)_atomViewAtCharacterIndex:(unsigned long long)a0; - (id)_attributedStringWithAtomizedRecipients; - (void)_beginAtomViewAnimations; - (BOOL)_canAddAdditionalAtoms; - (BOOL)_delegateRespondsToSizeChange; - (void)_didRemoveRecipient:(id)a0; - (void)_ensureAddButton; - (void)_ensureInactiveTextView; - (BOOL)_hasUnsafeRecipients; - (void)_insertAtomAttachment:(id)a0 andReplaceCharactersInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)_insertAtomAttachment:(id)a0 atCharacterIndex:(unsigned long long)a1; - (void)_invalidateAtomPresentationOptionsCache; - (void)_invalidateTextContainerExclusionPaths; - (BOOL)_isAddButtonVisible; - (BOOL)_isTextViewCollapsed; - (void)_notifyDelegateOfNewSize:(struct CGSize { double x0; double x1; })a0; - (void)_notifyDelegateOfSizeChange; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })_placeholderAttachmentRange; - (id)_placeholderAttachmentWithStaticWidth; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })_rangeForComposeRecipientAtom:(id)a0; - (void)_recomputeTextContainerExclusionPaths; - (void)_removeAddressAtomSubview:(id)a0; - (void)_resetSelectionState; - (void)_setAddButtonVisible:(BOOL)a0 animated:(BOOL)a1; - (void)_setTextViewIsCollapsed:(BOOL)a0 animated:(BOOL)a1; - (void)_setValue:(id)a0 forAtomLayoutOption:(id)a1 withRecipient:(id)a2; - (BOOL)_shouldAnimateAtomViewChanges; - (BOOL)_shouldEmbedLabelInTextView; - (id)_textContainerExclusionPathsWithAddButton:(BOOL)a0; - (BOOL)_textViewContainsAtomizedRecipients; - (id)_toString; - (void)_updateAddButtonVisibility; - (void)_updateInactiveTextView; - (BOOL)_useRightToLeftLayout; - (id)_userEnteredTextWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a0; - (id)_valueForAtomLayoutOption:(id)a0 withRecipient:(id)a1; - (void)addRecipient:(id)a0 index:(unsigned long long)a1 animate:(BOOL)a2; - (void)atomTextView:(id)a0 didChangeWritingDirection:(long long)a1; - (void)atomTextViewDidResignFirstResponder:(id)a0; - (void)composeRecipientAtomSelectPrevious:(id)a0; - (void)composeRecipientAtomShowPersonCard:(id)a0; - (BOOL)containsAddress:(id)a0; - (void)deselectComposeRecipientAtom:(id)a0; - (void)dragEnteredAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)dragExited; - (void)dragMovedToPoint:(struct CGPoint { double x0; double x1; })a0; - (id)dragPreviewForDraggedItem:(id)a0 withContainer:(id)a1; - (void)dropItems:(id)a0; - (unsigned long long)indexOfRecipientForInsertionAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)refreshPreferredContentSize; - (void)selectComposeRecipientAtom:(id)a0; - (id)selectedAtoms; - (void)setEditable:(BOOL)a0 animated:(BOOL)a1; - (double)textFieldOffsetForNumberOfRowsToScroll:(unsigned long long)a0 numberOfRowsAboveField:(long long)a1; - (BOOL)_hasDowntimeBlockedRecipients; - (BOOL)_hasRecipientsWithPresentationOptions:(unsigned long long)a0; - (BOOL)_recipientAtomHitInView:(id)a0 atLocation:(struct CGPoint { double x0; double x1; })a1; - (void)_updateAddButtonVisibilityAnimated:(BOOL)a0; - (void)addRecipientsFromContactItemProviders:(id)a0; - (void)composeRecipientAtomDisambiguate:(id)a0; - (void)composeRecipientAtomStopDisambiguating; - (void)deselectAllAtoms; - (BOOL)hostRecipientViewHasSearchResults; - (id)menuConfigurationForAtomView:(id)a0; - (void)removeSingleRecipient:(id)a0; - (void)selectAllAtoms; - (void)selectAtom:(id)a0; - (void)selectAtomForRecipient:(id)a0; - (void)setAtomPresentationOptions:(unsigned long long)a0 forRecipient:(id)a1; - (void)setUsingActiveAppearance:(BOOL)a0 animated:(BOOL)a1; - (void)shiftSelectAtom:(id)a0; - (void)shiftSelectComposeRecipientAtom:(id)a0; - (BOOL)shouldExpandRecipient:(id)a0; @end