import { default as React } from 'react'; export type DragAction = 'select' | 'inverse'; type Rect = { left: number; top: number; height: number; width: number; }; type Position = { x: number | null; y: number | null; }; type Props = { dragContainer: string; selectionBoxCustomAttr: React.HTMLAttributes; onSelect: (selectedIds: string[]) => void; onDeselect: (deselectedIds: string[]) => void; onDragStart?: (action: DragAction) => void; onDragEnd?: (action: DragAction) => void; }; export declare const DragSelect: ({ dragContainer, selectionBoxCustomAttr, onSelect, onDeselect, onDragStart, onDragEnd, }: Props) => React.ReactPortal | null; export declare const makeSelectable: ({ id }: { id: string; }) => { "data-drag-select-id": string; }; export declare const getSelectionBoxRect: (start: Position, end: Position, rootElement: Element | null) => Rect; export {};