export function TreeNode({ children, listIndex, swapFrom, swapLength, swapDepth, scaffoldBlockPxWidth, lowerSiblingCounts, connectDropTarget, isOver, draggedNode, canDrop, treeIndex, treeId, getPrevRow, node, path, rowDirection, ...otherProps }: {
    [x: string]: any;
    children: any;
    listIndex: any;
    swapFrom?: any;
    swapLength?: any;
    swapDepth?: any;
    scaffoldBlockPxWidth: any;
    lowerSiblingCounts: any;
    connectDropTarget: any;
    isOver: any;
    draggedNode?: any;
    canDrop?: boolean;
    treeIndex: any;
    treeId: any;
    getPrevRow: any;
    node: any;
    path: any;
    rowDirection?: string;
}): any;
export namespace TreeNode {
    namespace propTypes {
        let treeIndex: PropTypes.Validator<number>;
        let treeId: PropTypes.Validator<string>;
        let swapFrom: PropTypes.Requireable<number>;
        let swapDepth: PropTypes.Requireable<number>;
        let swapLength: PropTypes.Requireable<number>;
        let scaffoldBlockPxWidth: PropTypes.Validator<number>;
        let lowerSiblingCounts: PropTypes.Validator<number[]>;
        let listIndex: PropTypes.Validator<number>;
        let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
        let connectDropTarget: PropTypes.Validator<(...args: any[]) => any>;
        let isOver: PropTypes.Validator<boolean>;
        let canDrop: PropTypes.Requireable<boolean>;
        let draggedNode: PropTypes.Requireable<PropTypes.InferProps<{}>>;
        let getPrevRow: PropTypes.Validator<(...args: any[]) => any>;
        let node: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
        let path: PropTypes.Validator<NonNullable<string | number>[]>;
        let rowDirection: PropTypes.Requireable<string>;
    }
}
import PropTypes from 'prop-types';
