import { HttpClient } from "@omnia/fx"; import { Comment, GuidValue, ReactionType } from "@omnia/fx/models"; import { TopicRating, SubscriptionTypes, SubscriptionInfo, Feedback } from "../../models"; import { Achievement, PageId, UserAchievement } from "@omnia/wcm/models"; import { ICommentLikeService } from "@omnia/fx/stores"; export declare class SocialService implements ICommentLikeService { protected httpClient: HttpClient; constructor(); deleteComment: (comment: Comment) => Promise; getCommentLike: (topicId: string) => Promise; toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise; socialReacts: (topicId: string, commentId: string, isReacts: boolean, reactionType: ReactionType) => Promise; addComment: (comment: Comment) => Promise; updateComment: (comment: Comment) => Promise; markBestReply: (topicId: string, commentId: string) => Promise; ratePage: (topicId: string, rate: number) => Promise; getRating: (topicId: string) => Promise; addSubscription: (topicId: string, type: SubscriptionTypes) => Promise; removeSubscription: (topicId: string, type: SubscriptionTypes) => Promise; getSubscriptions: () => Promise; addOrUpdateAchievement: (achievement: Achievement) => Promise; deleteAchievement: (achievementId: GuidValue) => Promise; getAchievements: (publishingAppId: string) => Promise; getMyAchievements: () => Promise; getFeedbacks: (pageId: PageId) => Promise<{ [versionId: string]: Feedback[]; }>; addFeedback: (feedback: Feedback) => Promise; sharePage: (topicId: string) => Promise; deleteFeedback: (feedbackId: GuidValue) => Promise; }