import * as React from 'react'; import type useRowInfo from '../hooks/useRowInfo'; import type { ColumnType, CustomizeComponent } from '../interface'; export interface VirtualCellProps { rowInfo: ReturnType>; column: ColumnType; colIndex: number; indent: number; index: number; component?: CustomizeComponent; /** Used for `column.render` */ renderIndex: number; record: RecordType; style?: React.CSSProperties; className?: string; /** Render cell only when it has `rowSpan > 1` */ inverse?: boolean; getHeight?: (rowSpan: number) => number; } /** * Return the width of the column by `colSpan`. * When `colSpan` is `0` will be trade as `1`. */ export declare function getColumnWidth(colIndex: number, colSpan: number, columnsOffset: number[]): number; declare function VirtualCell(props: VirtualCellProps): React.JSX.Element; export default VirtualCell;