import React from 'react'; import { Direction, DraggableProps, DraggableProvided, DraggableRubric, DraggableStateSnapshot } from 'react-beautiful-dnd'; import { RcClassesProps } from '../../../foundation'; declare type RcDraggableProvided = DraggableProvided & { draggableProps: { className?: string; }; }; declare type RcDraggableStateSnapshot = DraggableStateSnapshot; declare type RcDraggableRubric = DraggableRubric; declare type RcDraggableChildrenFn = (provided: RcDraggableProvided, snapshot: RcDraggableStateSnapshot, rubric: RcDraggableRubric) => React.ReactElement; declare type RcDraggableProps = { directionOnly?: Direction; children: RcDraggableChildrenFn; } & RcClassesProps<'root' | 'isDragging'> & Omit; declare const RcDraggable: import("styled-components").StyledComponentClass<{ directionOnly?: "horizontal" | "vertical" | undefined; children: RcDraggableChildrenFn; } & RcClassesProps<"root" | "isDragging"> & Pick & React.RefAttributes, import("../../../foundation").RcTheme, Pick<{ directionOnly?: "horizontal" | "vertical" | undefined; children: RcDraggableChildrenFn; } & RcClassesProps<"root" | "isDragging"> & Pick & React.RefAttributes, "ref" | "key" | "children" | "classes" | "draggableId" | "index" | "isDragDisabled" | "disableInteractiveElementBlocking" | "shouldRespectForcePress" | "directionOnly"> & { theme?: import("../../../foundation").RcTheme | undefined; }>; export { RcDraggable }; export type { RcDraggableProps, RcDraggableProvided, RcDraggableRubric, RcDraggableStateSnapshot, };