import type { IPaginationProps } from "../Pagination/index"; import '@/Table/style/index.less'; import { DndContextProps } from '@dnd-kit/core'; import { TableProps } from 'antd'; import { ColumnGroupType } from 'antd/es/table/index'; import { ColumnType } from 'antd/lib/table/interface'; import React from 'react'; export type ExtendedColumn = (ColumnGroupType | ColumnType) & { searchFilterPanel?: { onSearch?: (value: string) => Promise; }; }; export type ExtendedColumnsType = ExtendedColumn[]; export interface ITableProps extends Omit, 'rowKey' | 'pagination' | 'columns'> { columns?: ExtendedColumnsType; rowKey?: string; sort?: boolean; dndContextProps?: DndContextProps; isFullRowDrag?: boolean; extraParams?: Record; pagination?: (IPaginationProps & { scrollToTop?: boolean; }) | false; onDragEnd?: (data: (T & { index: number; })[], extraParams?: any) => void; } declare function Table(props: ITableProps): React.JSX.Element; declare namespace Table { var Column: (_: import("antd").TableColumnProps) => null; var ColumnGroup: (_: import("antd/es/table/ColumnGroup").ColumnGroupProps) => null; } export default Table;