import React from 'react'; import { MenuItemProps } from '../../../Menu'; import { TableDataItem, TableProps, TableColumnConfig } from '../../Table'; export declare const actionsColumnId = "_actions"; export declare function enhanceSystemColumn(columns: TableColumnConfig[], enhancer: (systemColumn: TableColumnConfig) => void): TableColumnConfig[]; export interface TableAction { text: string; handler: (item: I, index: number) => void; disabled?: boolean; theme?: MenuItemProps['theme']; } export interface TableActionGroup { title: string; items: TableActionConfig[]; } export declare type TableActionConfig = TableAction | TableActionGroup; export interface WithTableActionsProps { getRowActions: (item: I, index: number) => TableActionConfig[]; } export declare function withTableActions(TableComponent: React.ComponentType & E>): React.ComponentType & WithTableActionsProps & E>;