import * as React from 'react';
export declare const useResize: (x: number, y: number, width: number | undefined, height: number | undefined, onResize: (args: {
    x: number;
    y: number;
    width: number | undefined;
    height: number | undefined;
}) => void) => (e: React.MouseEvent) => void;
