import React from 'react';
import type { Props as TreeItem } from '../../../pisellDraggable/components/TreeItem/TreeItem';
import './index.less';
interface SortableItemProps {
    itemProps: TreeItem;
    render?: (itemProps: TreeItem) => React.ReactNode;
    domRef: React.RefObject<HTMLDivElement>;
    allowAddChild?: boolean;
    allowDelete?: boolean;
    allowIsShow?: boolean;
    allowDrag?: boolean;
    disabled?: boolean;
    onAdd?: (itemProps: TreeItem) => void;
    onDelete?: (itemProps: TreeItem) => void;
    showBorder?: boolean;
    spacing?: number;
    maxLevel?: number;
    /** 设计模式 */
    __designMode?: string;
    /** 是否自定义操作 */
    isCustomAction?: boolean;
    /** 获取item样式 */
    getItemStyle?: (itemProps: TreeItem) => React.CSSProperties;
}
declare const SortableItem: (props: SortableItemProps) => React.JSX.Element;
export default SortableItem;
