import { MutableRefObject } from 'react';
import { Editor } from '@tiptap/react';
import { CommentAnchor } from '../extensions/comment/comment-decoration-plugin';

export declare const MOBILE_COMMENT_DRAWER_CANVAS_OFFSET_VAR = "--mobile-comment-drawer-canvas-offset";
type CommentSelectionRange = {
    from: number;
    to: number;
};
export declare const clearMobileCommentDrawerCanvasOffset: (editorRoot?: HTMLElement | null) => void;
export declare const resolveCommentSelectionRange: ({ editor, commentId, commentAnchorsRef, }: {
    editor: Editor;
    commentId: string;
    commentAnchorsRef?: MutableRefObject<CommentAnchor[]>;
}) => CommentSelectionRange | null;
export declare const scrollCommentSelectionRangeIntoView: ({ editor, selectionRange, behavior, }: {
    editor: Editor;
    selectionRange: CommentSelectionRange;
    behavior?: ScrollBehavior;
}) => void;
export {};
