import { Attachment } from "./attachment.model"; import { RecordedData } from "./recorder.model"; import { User } from "./user.data.model"; export declare class Comment { /** * Unique identifier for the comment pin annotation. * * Auto generated. */ commentId: number; /** * This determines the comment content type. * * Default: 'text'. */ type: 'text' | 'voice'; /** * Comment Text. * */ commentText: string; /** * Same comment text in HTML. * */ commentHtml?: string; /** * Comment voice recording url. * */ commentVoiceUrl?: string; /** * The user who created this comment text. * */ from: User; /** * List of users that were tagged using @mentions to this comment. * */ to?: User[]; /** * Timestamp when this comment content was last updated. * * Auto generated. */ lastUpdated?: Date; status: 'added' | 'updated'; /** * List of attachments. */ attachments: Attachment[]; /** * List of recorded data. */ recorders: RecordedData[]; /** * Map of user ID to another map of emoji to count. */ reactions: { [key: string]: { [key: string]: number; }; }; /** * Map of emoji to count to display. */ reactionCountMap: { [key: string]: number; }; }