import { RefObject } from 'react'; import { Editor } from '@tiptap/react'; import { CommentFloatingCard } from './context/types'; export interface UseCommentListContainerProps { editor: Editor; editorWrapperRef: RefObject; scrollContainerRef: RefObject; isHidden: boolean; } export interface UseCommentListContainerResult { floatingCardListContainerRef: RefObject; mountedFloatingCards: CommentFloatingCard[]; registerCardNode: (floatingCardId: string, node: HTMLDivElement | null) => void; shouldRender: boolean; } export declare const useCommentListContainer: ({ editor, editorWrapperRef, scrollContainerRef, isHidden, }: UseCommentListContainerProps) => UseCommentListContainerResult;