import { MaterialTableColumnProps } from '../../../material-table/material-table';
import { default as React } from 'react';
import { MRT_Row } from 'material-react-table';

export interface ICellChangeParam {
    value: any;
    data: any;
    col: MaterialTableColumnProps;
    row: MRT_Row<any>;
    name: string;
    uRows: any[];
}
interface IDynamicTable {
    columns: any[];
    rows?: any[];
    position: number;
    label: string;
    disabled?: boolean;
    typeOfField?: string;
    onAddClick?: (name?: string) => void;
    name?: string;
    is_button?: boolean;
    disableTableAddButton?: boolean;
    otherButtons?: React.ReactNode[];
    defaultActionColumnItems?: React.ReactElement[];
    onTableCellChange: ({ value, data, col, row }: ICellChangeParam) => void;
    currencySymbol?: string;
}
declare const DynamicTable: React.FC<IDynamicTable>;
export default DynamicTable;
