import { CommentGroup, CommentsMap, CommentsMapHandler } from "./CommentsMap"; import { Editor } from "../interface"; import { DocComment } from "../ot/index"; import '../static/css/mobileComment.css'; import { MainComments } from "./CommentUtils"; export default class MobileComments implements CommentsMapHandler { editor: Editor; mainComment: MainComments; commentsMap: CommentsMap; rootId: string; rootContainer: HTMLElement; mask: HTMLElement; groupsContainer: HTMLElement; curCommentGroupId?: string; lastCommentGroupId?: string; curReadOnly: boolean; bodyScrollbarData: { enabled: boolean; top: number; scrollContainer: HTMLElement | null; }; constructor(mainComment: MainComments); destroy(): void; bind(): void; unbind(): void; private handleClickMask; private handleGroupsScrollEnd; private showPullInfo; private hidePullInfoContainerCore; private hidePullInfoContainer; private hidePullInfoCore; private hidePullInfo; initGroupsScroll(): void; initGroupScroll(): void; isReplyEditorEmpty(): boolean; clearGroupsScroll(): void; clearGroupScroll(commentGroupId?: string): void; scrollToGroup(commentGroupId: string, scrollTime: number): void; show(commentGroup: CommentGroup, options: { curReadOnly: boolean; }): void; hide(): void; createMobileCommentGroup(groupId: string, commentGroup: CommentGroup): void; createReplyEditor(): void; handleReplyComment(): void; onInsertComment(comment: DocComment): void; onDeleteComment(comment: DocComment): void; onUpdatePosition: () => void; updateCommentText(commentId: string): void; }