import * as React from 'react'; import type { Table } from '@tanstack/react-table'; import type { ColumnReorderingProviderProps, OverlayClassNames } from "../ColumnReorderingProvider/types.js"; import "./ColumnDragOverlay.css"; export interface ColumnDragOverlayProps { table: Table; /** Id of the column currently being dragged, or `null` when nothing is dragged */ activeColumnId: string | null; /** Class names captured from the real table DOM, used to mirror its look in the overlay */ overlayClassNames: OverlayClassNames | null; /** Number of leading rows rendered below the header in the preview */ dragOverlayRowCount?: number; /** Custom overlay renderer; when provided it fully replaces the default preview */ renderDragOverlay?: ColumnReorderingProviderProps['renderDragOverlay']; } declare function ColumnDragOverlayInternal({ table, activeColumnId, overlayClassNames, dragOverlayRowCount, renderDragOverlay, }: ColumnDragOverlayProps): React.JSX.Element | null; export declare const ColumnDragOverlay: typeof ColumnDragOverlayInternal; export {};