/*!
* devextreme-react
* Version: 22.2.6
* Build date: Tue Apr 18 2023
*
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/devextreme-react
*/
///
import dxDraggable, { Properties } from "devextreme/ui/draggable";
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
import NestedOption from "./core/nested-option";
declare type IDraggableOptions = React.PropsWithChildren React.ReactNode;
dragComponent?: React.ComponentType;
dragKeyFn?: (data: any) => string;
}>;
declare class Draggable extends BaseComponent> {
get instance(): dxDraggable;
protected _WidgetClass: typeof dxDraggable;
protected independentEvents: string[];
protected _expectedChildren: {
cursorOffset: {
optionName: string;
isCollectionItem: boolean;
};
};
protected _templateProps: {
tmplOption: string;
render: string;
component: string;
keyFn: string;
}[];
}
declare type ICursorOffsetProps = React.PropsWithChildren<{
x?: any;
y?: any;
}>;
declare class CursorOffset extends NestedOption {
static OptionName: string;
}
export default Draggable;
export { Draggable, IDraggableOptions, CursorOffset, ICursorOffsetProps };