import { IRichTextEditor } from "../ux/richtexteditor";
import { ResolvedUserIdentity, UserIdentity } from "./identities";
import { OmitProperties } from "./Shared";
import { ISocialReaction } from "./SocialReaction";
export interface CommentLike {
    comments: Array<Comment>;
    likes: Array<Like>;
}
export interface CommentLikeTemplateSettings {
    enableMention: boolean;
    richTextSettings: OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">;
    enableBestReply: boolean;
    canMarkBestReply: boolean;
}
/**
 *
 * parentId: Which comment that this comment reply on
 * structureParentId: Which comment that this comment will be display as a child
 *
 * */
export interface Comment {
    topicId: string;
    id: string;
    content: string;
    bestReply: boolean;
    createdBy: UserIdentity;
    createdAt: string;
    modifiedAt?: string;
    deletedBy?: UserIdentity;
    parentId?: string;
    mentionedUsers: ResolvedUserIdentity[];
    createdByUser: ResolvedUserIdentity;
    deletedByUser?: ResolvedUserIdentity;
    structureParentId?: string;
}
export interface Like extends ISocialReaction {
    topicId: string;
    commentId?: string;
}
