import { CSSProperties, JSX } from 'react';
import { IField, IFieldProps } from './field';
import { IModalLiveDataCondition } from './modal';
export interface ITableColumn extends Pick<IField, 'style'> {
    title: string;
    key?: string;
    isButton?: boolean;
    isDeleteAction?: boolean;
    Icon?: (props: any) => JSX.Element;
    action?: (row: any) => void;
}
export interface IMakeTable extends Omit<IField, 'label' | 'defaultValue' | 'validation' | 'disabled' | 'enableIf' | 'id'> {
    elementType: 'table';
    selectValueName: string;
    selectTitleName: string;
    selectPlaceholder?: string;
    selectActionName: string;
    buttonStyle?: CSSProperties;
    columns: Array<ITableColumn>;
    defaultSelected?: Array<string>;
    data: Array<any>;
    liveData?: IModalLiveDataCondition;
}
export interface IMakeTableProps extends Omit<IFieldProps, 'unregister'> {
    element: Omit<IMakeTable, 'elementType'>;
}
