#import "TGModernMediaListImageItem.h" #import "TGWebSearchListItem.h" #import "TGModernMediaListEditableItem.h" #import "TGWebSearchInternalImageResult.h" @interface TGWebSearchInternalImageItem : TGModernMediaListImageItem @property (nonatomic, strong, readonly) TGWebSearchInternalImageResult *webSearchResult; @property (nonatomic, copy, readonly) bool (^isEditing)(); @property (nonatomic, copy) void (^toggleEditing)(); @property (nonatomic, copy) void (^itemSelected)(id); @property (nonatomic, copy) bool (^isItemSelected)(id); @property (nonatomic, copy) bool (^isItemHidden)(id); - (instancetype)initWithSearchResult:(TGWebSearchInternalImageResult *)searchResult isEditing:(bool (^)())isEditing toggleEditing:(void (^)())toggleEditing itemSelected:(void (^)(id))itemSelected isItemSelected:(bool (^)(id))isItemSelected isItemHidden:(bool (^)(id))isItemHidden; @end