import { RefObject } from 'react';
import { Editor } from '@tiptap/react';
import { CommentFloatingCard } from './context/types';

export interface UseCommentListContainerProps {
    editor: Editor;
    editorWrapperRef: RefObject<HTMLDivElement>;
    scrollContainerRef: RefObject<HTMLDivElement>;
    isHidden: boolean;
}
export interface UseCommentListContainerResult {
    floatingCardListContainerRef: RefObject<HTMLDivElement>;
    mountedFloatingCards: CommentFloatingCard[];
    registerCardNode: (floatingCardId: string, node: HTMLDivElement | null) => void;
    shouldRender: boolean;
}
export declare const useCommentListContainer: ({ editor, editorWrapperRef, scrollContainerRef, isHidden, }: UseCommentListContainerProps) => UseCommentListContainerResult;
