
#import <UIKit/UIKit.h>
#import "YMIMHintView.h"
#import "MessageModel.h"


typedef void(^MikeSegmentSelBlock)(SLMikeSegmentModel * _Nullable sModel);

NS_ASSUME_NONNULL_BEGIN

@interface YMIMBaseMessageCell : UICollectionViewCell

@property (nonatomic, strong) UIView *messageLabelBgView;

@property (nonatomic, strong) UILabel *messageLabel;

@property (nonatomic, strong) UIView *msgTransLabelBgView;

@property (nonatomic, strong) UILabel *msgTransLabel;

@property (nonatomic, strong) UIImageView *msgHeaderView;

@property (nonatomic, strong) UIView *mikeLabelBgView;

@property (nonatomic, strong) UIImageView *mikeImageView;

@property (nonatomic, strong) UILabel *mikeLabel;

@property (nonatomic, strong) UILabel *timeLabel;

@property (nonatomic, strong) UIImageView *sendFailImageView;

@property (nonatomic, copy) MikeSegmentSelBlock segmentBlock;
/// 设置圆角
- (void)setCellLayerCornerRadiusWith:(MessageModel *)msgModel;

- (void)confignBaseMessageContentWith:(MessageModel *)msgModel receiveHeardImg:(NSString *)img;

@end

NS_ASSUME_NONNULL_END
