import type { Editor, NodeViewWrapperProps } from "@tiptap/react"; import React, { type HTMLAttributes } from "react"; import { type Edge } from "@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge"; export interface SortableItemWrapperProps extends NodeViewWrapperProps { children: React.ReactNode; id: string; className?: string; editor: Editor; getPos?: (() => number) | boolean; /** If true, this element will not accept drops (but can still be dragged) */ disableDropTarget?: boolean; } export declare const SortableItemWrapper: ({ children, id, className, editor, getPos: _getPos, disableDropTarget, ...props }: SortableItemWrapperProps) => import("react/jsx-runtime").JSX.Element; export interface SortableItemProps { children: React.ReactNode; id?: string; dragOverlay?: boolean; disabled?: boolean; dragging?: boolean; closestEdge?: Edge | null; dragType?: string | null; handleRef?: React.RefObject; contentRef?: React.RefObject; fadeIn?: boolean; className?: string; editor: Editor; } export interface NodeViewWrapperComponentProps extends HTMLAttributes { dragging?: never; } export declare const SortableItem: React.ForwardRefExoticComponent>;