import { type Row, type RowData, type Table_Internal, type TableFeature, type TableFeatures, type Updater } from '@tanstack/react-table'; import type { DataTableRowOrderState, RowOrderFeatureConstructors } from './row-order-types.js'; import type { TDataTableFeatures } from '../types/features.types.js'; /** * Helper function to update the row order state on the table, which can be called from row-level actions to ensure consistent state management. * @internal */ export declare function table_setDraggingRowInfo(table: Table_Internal, draggingRowInfo: { id: string; index: number; row: Row; } | null): void; /** * Helper function to update the row order state on the table, which can be called from row-level actions to ensure consistent state management. * @internal */ export declare function table_setRowOrder(table: Table_Internal, updater: Updater['rowOrder']>): void; /** * Helper function to access the row model before the row order is applied on the table, which can be called from row-level actions to ensure consistent state management. * @internal */ export declare function table_getPreRowOrderRowModel(table: Table_Internal): import("@tanstack/table-core").RowModel; /** * Helper function to access the row order model on the table, which can be called from row-level actions to ensure consistent state management. * @internal */ export declare function table_getRowOrderRowModel(table: Table_Internal): import("@tanstack/table-core").RowModel; /** * Helper function to determine if a specific row can be dragged, based on the table options and the row's properties. * @internal */ export declare function row_getCanDrag(row: Row): boolean; /** * Helper function to determine if a row with disabled drag and drop should be locked in place based on the table options and the row's position in the table. * @internal */ export declare function row_getDisabledRowDragAndDropLockPosition(row: Row): boolean | 'start' | 'end' | undefined; /** * Constructs the column row ordering for the table, * including API implementations and prototype assignments. * @internal */ export declare function constructRowOrderFeature(): TableFeature>; /** * Feature implementation for Row Order. * @internal */ export declare const DataTableRowOrderFeature: TableFeature>;