import React from "react";
import { IArea, TGridRef } from "./../Grid";
interface IOptions {
    gridRef?: TGridRef;
    initialSelections?: IArea[];
}
/**
 * useSelection hook to enable selection in datagrid
 * @param initialSelection
 */
declare const useSelection: (options?: IOptions) => {
    selections: IArea[];
    onMouseDown: (e: React.MouseEvent<HTMLDivElement>) => void;
    onMouseMove: (e: React.MouseEvent<HTMLDivElement>) => void;
    onMouseUp: () => void;
};
export default useSelection;
