import { type MouseEventHandler } from 'react';
type MoveHandler = (ev: MouseEvent) => void;
export interface UseMoveInterface {
    /**
     * Whether move is hapenning
     */
    isMoving: boolean;
    /**
     * Callback to call when a move is started.
     * Should be attached to a component's `onMouseDown` attribute.
     */
    startMoving: MouseEventHandler;
}
/**
 * Helper hook to support moving an element
 *
 * @param move move handler invoked whenever element is moved
 */
export default function useMove(move: MoveHandler): UseMoveInterface;
export {};
//# sourceMappingURL=use-move.d.ts.map