import { AuthPermission } from "../../../commons/auth-message"; import { CommentGroup } from "./CommentsMap"; import { CommentData, Editor, EditorDoc } from "../interface"; export declare const PULL_THRESHOLD = 20; export declare const MOBILE_COMMENT_CLASS: { BG_MASK: string; GROUPS_CONTAINER: string; GROUP_CONTAINER: string; GROUPS_SCROLL_CONTAINER: string; GROUP_SCROLL_CONTAINER: string; GROUP_SPACE: string; GROUP_ABSTRACT: string; PULL_INFO_CONTAINER: string; PULL_INFO: string; REPLY_COMMENT_CONTAINER: string; REPLY_COMMENT_EDITOR: string; }; export declare function getMobileCommentMask(rootContainer: Element): Element | null; export declare function getMobileGroupsContainer(rootContainer: Element): Element | null; export declare function getMobileGroupsScrollContainer(groupsContainer: Element): Element | null; export declare function getMobileGroupScrollContainer(groupContainer: Element): Element | null; export declare function getMobileGroupContainerById(groupsContainer: Element, groupId: string): Element | null; export declare function getMobileCommentItemContainerById(groupsContainer: Element, id: string): Element | null; export declare function getMobileReplyEditor(rootContainer: Element): Element | null; export declare function createMobileCommentRootContainer(mobileContainerId: string): HTMLElement; export declare function createMobileCommentContent(editor: Editor, permission: AuthPermission, readonly: boolean, placeholder: string, data?: EditorDoc, callback?: { onChange?: (editor: Editor) => void; onBlur?: (editor: Editor) => void; }): { elem: HTMLDivElement; childEditor: Editor; }; export declare function createMobileCommentItem(editor: Editor, comment: CommentData, readonly: boolean): HTMLElement; export declare function createMobileCommentGroup(editor: Editor, groupsContainer: HTMLElement, groupId: string, commentGroup: CommentGroup): HTMLDivElement; export declare function getReplyText(rootContainer: Element): string;