import React, { FunctionComponent } from 'react'; import { BasicComponent } from "../../utils/typings"; import { DragState } from './drag'; export interface DragProps extends BasicComponent { attract: boolean; direction: 'x' | 'y' | 'lock' | undefined; boundary: { top: number; left: number; right: number; bottom: number; }; onDragStart: () => void; onDragEnd: (state: DragState) => void; onDrag: (state: DragState) => void; } export declare const Drag: FunctionComponent & React.HTMLAttributes>;