import type { ColumnListItem } from './column-settings-types.js'; import type { Column } from '../../../hooks/useTable/types.js'; import type { ColumnPinningState } from '../../../tanstack-table-core-override/src/index.js'; interface DataTableColumnsListItemProps { /** * The column to render in the list. */ column: ColumnListItem; /** * The index of the column in the list. */ columnIndex: number; /** * The ordered flat columns, grouped by pinning position. */ orderedFlatColumns: { left: ColumnListItem[]; center: ColumnListItem[]; right: ColumnListItem[]; }; /** * Whether the visibility settings are enabled and a checkbox should be shown. */ showVisibilityCheckbox: boolean; /** * Whether visibility can be changed for this column. */ enableVisibilityCheckbox: boolean; /** * The current visibility state of the column. */ currentVisibilityState: boolean | 'indeterminate'; /** * Callback when the checkbox is clicked and visibility of the column changes. */ onVisibilityChange: (column: Column, currentVisibility: boolean | 'indeterminate') => void; /** * Whether the column order settings are enabled and a drag handle should be shown. */ showColumnOrderDragHandle: boolean; /** * Whether buttons to pin/unpin the column should be shown. */ showColumnPinningMenu: boolean; /** * The local column pinning state. */ localColumnPinning: ColumnPinningState; /** * Callback to update the local column pinning state. */ updateLocalColumnPinning: (newState: ColumnPinningState) => void; /** * The virtual index for grid row positioning. */ virtualIndex: number; /** * Callback to measure the element for virtualization. */ measureElement: (element: Element | null) => void; } export declare const DataTableColumnsListItem: import("react").MemoExoticComponent<(props: DataTableColumnsListItemProps) => import("react/jsx-runtime").JSX.Element>; export {};