import * as React from 'react';
import './DragContext.css';
export interface DragItem {
    path: number[];
    type: string;
    treeTitle?: string;
}
export declare const DragContext: React.Context<{
    draggedItem: DragItem | null;
    setDraggedItem: React.Dispatch<React.SetStateAction<DragItem | null>>;
    previewRef: React.RefObject<HTMLDivElement>;
    showPreview: (rect: DOMRect, item: DragItem) => void;
    hidePreview: () => void;
}>;
export declare const DragContextProvider: React.FC<React.PropsWithChildren<{}>>;
