import * as React from 'react'; import type { Table } from '@tanstack/react-table'; import type { SortableListProps } from "../SortableList/index.js"; import type { SortableListDndContextProps } from "../SortableListDndContext/index.js"; import "./ReorderingProvider.css"; export interface ReorderingProviderProps { /** The table instance returned from the `useTable` hook */ table: Table; /** Enables the built-in dnd-kit row auto-scroll. Default: `true` */ autoScroll?: SortableListProps['autoScroll']; /** Accessibility configuration for the shared dnd-kit context */ accessibility?: SortableListProps['accessibility']; /** Children */ children?: React.ReactNode; /** Enables dragging a row by any part of it instead of requiring a drag handle. Default: `false` */ dragWithoutHandle?: SortableListProps['dragWithoutHandle']; /** A list of the dnd-kit modifiers */ dndModifiers?: SortableListDndContextProps['modifiers']; /** Determines whether elements can be nested using drag-and-drop */ enableNesting?: SortableListProps['enableNesting']; /** Reorder handler triggered when the dnd-kit's `onDragEnd` event fires */ onReorder?: SortableListProps['onDragEnd']; } export declare const ReorderingProvider: ({ table, autoScroll, children, dragWithoutHandle, dndModifiers, enableNesting, accessibility, onReorder, }: ReorderingProviderProps) => React.JSX.Element;