import type { CommentDataType } from '../types'; export declare const clearReadonlyCommentHighlights: (root: HTMLElement | null) => void; /** 在 markdown 只读 DOM 中按 refContent 包裹 ``,样式由 CSS 类控制。 */ export declare const applyReadonlyCommentHighlights: (root: HTMLElement | null, commentList: CommentDataType[] | undefined, contentPrefixCls: string) => void; export declare const bindReadonlyCommentClick: (root: HTMLElement | null, onShowComments: (comments: CommentDataType[]) => void, commentList: CommentDataType[]) => () => void;