import React from 'react';
import { TableDataItemBase, TableAbstractColumn, TableOnCellClick, FieldError } from './table-types';
interface Props<TableDataItem extends TableDataItemBase> {
    columns: Array<TableAbstractColumn<TableDataItem>>;
    row: TableDataItem;
    rowIndex: number;
    emptyText: string;
    errors?: FieldError;
    onCellClick?: TableOnCellClick<TableDataItem>;
    isLoading: boolean;
}
export type TableCellData<TableDataItem> = {
    row: number;
    column: number;
    rowValue: TableDataItem;
};
type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props<any>>;
export type TableCellProps<TableDataItem extends TableDataItemBase> = Props<TableDataItem> & NativeAttrs;
declare const TableCell: <TableDataItem extends TableDataItemBase>({ columns, row, errors, rowIndex, emptyText, onCellClick, isLoading }: TableCellProps<TableDataItem>) => React.JSX.Element;
export default TableCell;
