import "../../CommonImports"; import "../../Core/core.css"; import "./DropdownList.css"; import "./List.css"; import "./ListDropIndicator.css"; import { IBehavior } from '../../Utilities/Behavior'; import { IEventDispatch } from '../../Utilities/Dispatch'; import { IDragDroppableUI } from "./List.Props"; import { IListDragSourceBehaviorOptions, ListDragSourceBehavior } from "./ListDragSourceBehavior"; import { IListDropTargetBehaviorOptions, ListDropTargetBehavior } from "./ListDropTargetBehavior"; export interface IListDragDropBehaviorOptions extends IListDragSourceBehaviorOptions, IListDropTargetBehaviorOptions { } /** * A behavior that combines the ListDragSourceBehavior and ListDropTargetBehavior. If your list * is only meant to be a drag source, or only meant to be a drop target, then use those two * behaviors individually. * In addition to combining the two behaviors for convenience, this single behavior also enhances * the list with keyboard drag and drop support. */ export declare class ListDragDropBehavior implements IBehavior<{}, IDragDroppableUI> { private dataTransfer; private dragBehavior; private dragItemRowElement; private dropBehavior; private eventDispatch; private focusIndex; private itemProvider; private options; constructor(options: IListDragDropBehaviorOptions); constructor(options: IListDragDropBehaviorOptions, dragBehavior: ListDragSourceBehavior, dropBehavior: ListDropTargetBehavior); initialize: (props: any, dragDroppableUI: IDragDroppableUI, eventDispatch: IEventDispatch) => void; componentDidUpdate(props: any): void; componentWillUnmount(): void; private dispatchEventAtIndex; private endDrag; private fireRowDragEvents; private onDragRowKeyDown; private onKeyDown; }