import type { Editor } from "@tiptap/react"; import { type VisibleBlockItem } from "../store"; type UniqueIdentifier = string | number; interface UsePragmaticDndProps { items: { Sidebar: VisibleBlockItem[]; Editor: UniqueIdentifier[]; }; setItems: React.Dispatch>; editor?: Editor | null; } export declare const usePragmaticDnd: ({ items, setItems, editor }: UsePragmaticDndProps) => { activeId: UniqueIdentifier | null; activeDragType: string | null; dndMode: "outer" | "inner"; lastPlaceholderIndex: number | null; cleanupPlaceholder: () => void; }; export {};