import React from 'react'; import type { TableProps as AntdTableProps } from 'tntd/lib/table'; import type { ButtonType } from 'tntd/lib/button'; import type { ToolBarProps } from './toolbar'; export type TableProps = AntdTableProps & { actionConfig?: Array<{ text: string; loading: boolean; icon?: string; type?: ButtonType; disabled?: boolean; onClick?(...rest: unknown[]): void; }>; actionColumnTitle?: string; actionColumnPosition?: 'left' | 'right'; actionColumnFixed?: boolean; actionColumnAlign?: 'left' | 'center' | 'right'; actionColumnWidth?: string; actionColumnNumber?: number; storageKey?: string; toolbar?: ToolBarProps; refresh?(): void; scrollX?: number | string; scrollY?: number | string; expandedStyle?: 'default' | 'noPadding'; }; export declare const Table: { ({ className, locale, bordered, toolbar, refresh, size, storageKey, columns, children, actionConfig, actionColumnTitle, actionColumnPosition, actionColumnFixed, actionColumnAlign, actionColumnWidth, actionColumnNumber, scrollX, scrollY, expandedStyle, ...rest }: TableProps): React.JSX.Element; Column: typeof import("antd/lib/table/Column").default; ColumnGroup: typeof import("antd/lib/table/ColumnGroup").default; displayName: string; }; export default Table;