import { MessageId, UserId, ProjectId, GroupId, ActivityId, DetailObjectId, DetailObjectType, ExecutorOrCreator } from 'teambition-types'; export declare type MessageType = 'object#room' | 'object#task' | 'object#event' | 'object#post'; export interface MessageSchema { _id: MessageId; _userId: UserId; type: MessageType; updated: string; created: string; isArchived: boolean; isMute: boolean; isAted: boolean; reminder?: { reminderDate: string; updated: string; }; isLater: boolean; isRead: boolean; unreadActivitiesCount: number; boundToObjectUpdated: string; creator?: ExecutorOrCreator; title: string; subtitle: string; _latestActivityId?: ActivityId; latestActivityAction?: string; _projectId?: ProjectId; project?: { _id: ProjectId; name: string; logo: string; }; _groupId?: GroupId; group?: { _id: GroupId; name: string; logo: string; }; _objectId: DetailObjectId | ProjectId; objectType: DetailObjectType | 'activity' | 'room'; mentions?: any; }