@class NSArray, NSMutableArray; @protocol NSTextStorageObserving, NSTextStorageObservingPrivate, NSTextStorageDelegate; @interface NSTextStorage : NSMutableAttributedString { struct _NSRange { unsigned long long location; unsigned long long length; } _editedRange; long long _editedDelta; struct { unsigned char editedMask : 8; unsigned char postWillProcess : 1; unsigned char postDidProcess : 1; unsigned char : 6; unsigned short disabled : 16; } _flags; NSMutableArray *_layoutManagers; id _sideData; long long _fontFixingDisabledCount; id _textStorageObserver; BOOL _shouldSetOriginalFontAttribute; Class _intentResolver; } @property (class, readonly) BOOL supportsSecureCoding; @property BOOL ensuresFixingAttributes; @property BOOL ensuresFixingFontAttributes; @property BOOL _isSwiftAttributedString; @property (readonly, copy, nonatomic) NSArray *layoutManagers; @property (readonly, nonatomic) unsigned long long editedMask; @property (readonly, nonatomic) struct _NSRange { unsigned long long x0; unsigned long long x1; } editedRange; @property (readonly, nonatomic) long long changeInLength; @property (weak, nonatomic) id delegate; @property (readonly, nonatomic) BOOL fixesAttributesLazily; @property (weak, nonatomic) id textStorageObserver; + (id)allocWithZone:(struct _NSZone { } *)a0; + (void)initialize; - (void)_setForceFixAttributes:(BOOL)a0; - (id)init; - (void)_setUsesSimpleTextEffects:(BOOL)a0; - (id)cuiCatalog; - (void)dealloc; - (void)endEditing; - (BOOL)_attributeFixingInProgress; - (BOOL)_lockForReading; - (void)encodeWithCoder:(id)a0; - (id)cuiStyleEffects; - (void)finalize; - (BOOL)_lockForWritingWithExceptionHandler:(BOOL)a0; - (BOOL)_forceFixAttributes; - (void)processEditing; - (Class)classForCoder; - (void)_unlock; - (BOOL)_shouldSetOriginalFontAttribute; - (void)_setAttributeFixingInProgress:(BOOL)a0; - (BOOL)_usesSimpleTextEffects; - (void)beginEditing; - (id)initWithCoder:(id)a0; - (void)edited:(unsigned long long)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 changeInLength:(long long)a2; - (Class)_intentResolver; - (BOOL)_isEditing; - (void)_setIntentResolver:(Class)a0; - (void)addLayoutManager:(id)a0; - (void)coordinateAccess:(id /* block */)a0; - (void)coordinateEditing:(id /* block */)a0; - (void)coordinateReading:(id /* block */)a0; - (void)ensureAttributesAreFixedInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)invalidateAttributesInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (BOOL)_lockForWriting; - (void)_fixAttributesInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)_notifyEdited:(unsigned long long)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 changeInLength:(long long)a2 invalidatedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a3; - (id)_nsAttributedStringFromRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })_rangeByEstimatingAttributeFixingForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)_setEditedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)_setShouldSetOriginalFontAttribute:(BOOL)a0; - (BOOL)_shouldFixFontAttributes; - (void)fixFontAttributeInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)fixGlyphInfoAttributeInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)fontSetChanged; - (void)removeLayoutManager:(id)a0; - (void)setEditedMask:(unsigned long long)a0; - (void)setTextStorageController:(id)a0; - (id)textStorageController; @end