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

interface UseFloatingCommentCardLayoutProps {
    blurFloatingCard: (floatingCardId: string) => void;
    closeFloatingCard: (floatingCardId: string) => void;
    editor: Editor;
    editorWrapperRef: RefObject<HTMLDivElement>;
    floatingCardIdsKey: string;
    floatingCards: CommentFloatingCard[];
    focusedFloatingCardId: string | null;
    isDesktopFloatingEnabled: boolean;
    isHidden: boolean;
    scrollContainerRef: RefObject<HTMLDivElement>;
}
interface UseFloatingCommentCardLayoutResult {
    floatingCardListContainerRef: RefObject<HTMLDivElement>;
    mountedFloatingCardIds: string[];
    registerCardNode: (floatingCardId: string, node: HTMLDivElement | null) => void;
}
export declare const useFloatingCommentCardLayout: ({ blurFloatingCard, closeFloatingCard, editor, editorWrapperRef, floatingCardIdsKey, floatingCards, focusedFloatingCardId, isDesktopFloatingEnabled, isHidden, scrollContainerRef, }: UseFloatingCommentCardLayoutProps) => UseFloatingCommentCardLayoutResult;
export {};
