import * as React from 'react'; import type { CellType, ColumnType, DataIndex } from '../interface'; export default function useCellRender(record: RecordType, dataIndex: DataIndex, renderIndex: number, children?: React.ReactNode, render?: ColumnType['render'], shouldCellUpdate?: ColumnType['shouldCellUpdate']): [React.ReactNode, CellType] | [React.ReactNode];