#import #import @class TGMediaSelectionContext; @interface TGMediaPickerGallerySelectedItemsModel : NSObject @property (nonatomic, copy) void (^selectionUpdated)(bool reload, bool incremental, bool add, NSInteger index); @property (nonatomic, readonly) NSArray *items; @property (nonatomic, readonly) NSArray *selectedItems; @property (nonatomic, readonly) NSInteger totalCount; @property (nonatomic, readonly) NSInteger selectedCount; - (instancetype)initWithSelectionContext:(TGMediaSelectionContext *)selectionContext; - (instancetype)initWithSelectionContext:(TGMediaSelectionContext *)selectionContext items:(NSArray *)items; - (void)addSelectedItem:(id)selectedItem; - (void)removeSelectedItem:(id)selectedItem; - (void)clear; @end