/** @packageDocumentation * @module Table */ import "./DragDropRow.scss"; import * as React from "react"; import { BreadcrumbDetailsDragDropType } from "../../breadcrumb/breadcrumbdetails/hoc/withDragDrop"; import { DragSourceProps, DropTargetProps } from "../../dragdrop/DragDropDef"; import { TableDropTargetProps } from "./withDragDrop"; /** @internal */ export interface DragDropRowProps { dragProps: DragSourceProps; dropProps: TableDropTargetProps; } interface RowWrapperProps extends React.AllHTMLAttributes { isDragging?: boolean; isOver?: boolean; canDrag?: boolean; canDrop?: boolean; canDropOn?: boolean; onRender?: () => void; } declare enum HoverMode { Above = 0, On = 1, Below = 2 } /** @internal */ interface RowWrapperState { hoverMode: HoverMode; } /** @internal */ export declare class DragDropRowWrapper extends React.Component { private _root; readonly state: RowWrapperState; render(): React.ReactElement; componentDidMount(): void; componentDidUpdate(): void; private _handleDragOver; } /** @internal */ export declare function DragDropRow(): { new (props: Readonly): { createDragProps(index?: number | undefined): {}; createDropProps(index?: number | undefined): DropTargetProps; render(): React.ReactElement; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }; new (props: any, context?: any): { createDragProps(index?: number | undefined): {}; createDropProps(index?: number | undefined): DropTargetProps; render(): React.ReactElement; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }; contextType?: React.Context | undefined; }; export {}; //# sourceMappingURL=DragDropRow.d.ts.map