@class UIView, PKRecognitionSessionManager, PKStrokeSpatialCache, NSArray, PKDrawing, NSMutableDictionary, NSString, NSUUID, NSMutableArray, PKTiledView; @protocol PKAttachmentViewHashtagsAndMentionsDelegate; @interface PKAttachmentView : UIView { NSUUID *_listenerID; BOOL _didSetTileDrawingTransform; } @property (nonatomic) struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } cachedBounds; @property (retain, nonatomic) PKRecognitionSessionManager *recognitionManager; @property (retain, nonatomic) NSMutableArray *dataDetectorViews; @property (retain, nonatomic) NSMutableArray *mentionViews; @property (retain, nonatomic) NSMutableArray *hashtagViews; @property (nonatomic) BOOL detectionViewsHidden; @property (nonatomic) BOOL hideUntilScroll; @property (nonatomic) BOOL toolPickerVisible; @property (nonatomic) BOOL isDraggingSelection; @property (nonatomic) BOOL ignoreInitialDetectionItemsForStatistics; @property (nonatomic) BOOL deferMentionUpdate; @property (retain, nonatomic) NSMutableArray *previousDataDetectorItems; @property (retain, nonatomic) NSMutableArray *previousHashtagItems; @property (retain, nonatomic) NSMutableArray *previousMentionItems; @property (retain, nonatomic) NSMutableDictionary *mentionUUIDtoParticipant; @property (copy, nonatomic) PKDrawing *drawing; @property (readonly, nonatomic) NSMutableDictionary *tiles; @property (readonly, nonatomic) NSMutableDictionary *offscreenTiles; @property (readonly, nonatomic) NSMutableDictionary *purgedTiles; @property (retain, nonatomic) NSArray *additionalStrokes; @property (retain, nonatomic) UIView *tileContainerView; @property (readonly, nonatomic) UIView *tileMaskView; @property (readonly, nonatomic) BOOL isAtEndOfDocument; @property (nonatomic) BOOL contentHidden; @property (nonatomic) BOOL sixChannelBlending; @property (readonly, nonatomic) BOOL updateHeightAfterDrawing; @property (readonly, nonatomic) struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } drawingTransform; @property (nonatomic) struct CGAffineTransform { double a; double b; double c; double d; double tx; double ty; } tileDrawingTransform; @property (readonly, nonatomic) PKStrokeSpatialCache *strokeSpatialCache; @property (readonly, nonatomic) PKTiledView *tiledView; @property (nonatomic) BOOL wantsDataDetection; @property (nonatomic) BOOL wantsMentionDetection; @property (nonatomic) BOOL wantsHashtagDetection; @property (weak, nonatomic) id hashtagAndMentionsDelegate; @property (readonly, nonatomic) UIView *attachmentContainerView; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (BOOL)isRTL; - (void)willMoveToWindow:(id)a0; - (void)dealloc; - (void)selectionDidChange; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)didMoveToSuperview; - (void)setFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (id)_accessibilityUserTestingChildren; - (void).cxx_destruct; - (void)layoutSubviews; - (id)initWithCoder:(id)a0; - (void)didMoveToWindow; - (void)setAttachmentChromeVisible:(BOOL)a0 animated:(BOOL)a1 highlightBackground:(BOOL)a2; - (id)allHashtagViews; - (void)drawingDidChangeVisibleStrokes:(BOOL)a0; - (void)visibleOnscreenBoundsDidChange:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (id)_firstStrokesInSelectedStrokes:(id)a0; - (void)didBeginDrawing; - (void)_initializeRecognitionForDrawingIfNecessary:(id)a0; - (void)_initializeRecognitionForDrawingIfNecessary:(id)a0 withVisibleOnscreenStrokes:(id)a1; - (id)_lastStrokesInSelectedStrokes:(id)a0; - (void)_toolPickerDidShowHide:(id)a0; - (void)_updateAllPossibleParticipantNameTokens:(id)a0; - (void)beganStroke:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })boundingBoxForHashtagOrMentionWithUUID:(id)a0; - (void)cancelledStroke:(id)a0; - (void)clearTileDrawingTransform; - (void)containingScrollViewDidScroll; - (long long)contentTypeForIntersectedStrokes:(id)a0; - (void)didBeginModifyDrawing; - (void)didEndDrawing; - (void)didEndModifyDrawing; - (void)didFinishCalculatingVisibleOnscreenStrokes:(id)a0; - (BOOL)disableTileAnimations; - (void)drawingDidChange; - (void)drawingDidEraseStrokes:(id)a0; - (void)endedStroke:(id)a0; - (void)fetchIntersectedStrokesAtPoint:(struct CGPoint { double x0; double x1; })a0 selectionType:(long long)a1 inputType:(long long)a2 visibleOnscreenStrokes:(id)a3 completion:(id /* block */)a4; - (void)fetchIntersectedStrokesBetweenTopPoint:(struct CGPoint { double x0; double x1; })a0 bottomPoint:(struct CGPoint { double x0; double x1; })a1 liveScrollOffset:(struct CGPoint { double x0; double x1; })a2 completion:(id /* block */)a3; - (void)fetchStrokesAmbiguouslyBelowAndAboveInsertSpaceHandleWithStrokes:(id)a0 completion:(id /* block */)a1; - (void)fingerDrawingEnabledDidChange; - (void)fullyRendered; - (void)hashtagView:(id)a0 registerCommand:(id)a1; - (void)hashtagViewDidActivateHashtag:(id)a0; - (void)hashtagViewDidDeactivateHashtag:(id)a0; - (void)hashtagViewWillDeactivateHashtag:(id)a0; - (double)heightFromDrawing:(id)a0 delta:(double)a1; - (BOOL)hitByTouchLocation:(struct CGPoint { double x0; double x1; })a0 bounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (BOOL)hitChrome:(struct CGPoint { double x0; double x1; })a0 isStylus:(BOOL)a1; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 drawing:(id)a1; - (id)inlineViewAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)layoutInlineViews; - (void)mentionView:(id)a0 registerCommand:(id)a1; - (void)mentionViewDidActivateMention:(id)a0 withParticpant:(id)a1; - (void)mentionViewDidDeactivateMention:(id)a0; - (void)mentionViewWillDeactivateMention:(id)a0; - (void)pixelAlignForContentScale:(double)a0 enclosingScrollView:(id)a1; - (void)recognitionSessionManager:(id)a0 foundDataDetectorItems:(id)a1; - (void)recognitionSessionManager:(id)a0 foundHashtagItems:(id)a1; - (void)recognitionSessionManager:(id)a0 foundMentionItems:(id)a1; - (void)removeDetectionViews; - (void)revealDetectionViews; - (void)toolPickerDidHide; - (void)toolPickerDidShow; - (void)updateAllPossibleParticipantNameTokens; - (void)updateDataDetectorResults:(id)a0; - (void)updateDetectionViewVisibility; - (void)updateDetectionViews:(id)a0 withItems:(id)a1 previousItems:(id)a2; - (void)updateDrawingHeight:(double)a0; - (void)updateDrawingHeight:(double)a0 notifyDrawingDidChange:(BOOL)a1; - (void)updateFrameForTextContainer; - (void)updateHashtagResults:(id)a0; - (void)updateMentionResults:(id)a0; - (void)updateTileContainerViewFrame; - (BOOL)wantsFullyRendered; @end