import * as React from 'react';

type PositionType = {
  x: number;
  y: number;
};

type SizeType = {
  width: number | string;
  height: number | string;
};

interface MoveContentProps {
  children: React.Component;
  onDrag?: (e: React.MouseEvent, position: PositionType) => void;
  onDragChange?: (position: PositionType) => void;
  onDragEnd?: (e: React.MouseEvent, position: PositionType) => void;
  position?: PositionType;
  size?: SizeType;
  disabled?: boolean;
  className?: string;
}

declare const MoveContent: React.Component<MoveContentProps>;
