import { type JSX } from 'react'; import { type StylingProps } from '@dynatrace/strato-components/core'; import { type Cell } from '../hooks/useTable/types.js'; interface DataTableV2CellProps extends StylingProps { dragAndDropRef?: (element: HTMLElement | null) => void; cell: Cell; /** * This function measures column sizes and is triggered when the cell is rendered in the DOM. */ columnMeasure?: (element: Element | null) => void; /** * Column index in order to map it to the cells data attributes for identification. */ columnIndex: number; /** * Row index in order to map it to the cells data attributes for identification. */ rowIndex?: number; /** * Stringified cell dependencies that act as a memo invalidation for the memoized * component. If something on the table state changes that does not affect the * `cell` prop passed here, it can be added to the cellDeps columnDef.meta field * in order to use it as cache control. */ cellDeps?: string; /** * Flag defining if the current cell should be used as a column measurement cell */ shouldMeasureColumn?: boolean; } export declare function DataTableV2Cell(props: DataTableV2CellProps): JSX.Element | null; export {};