import type { ColumnProps, TableProps } from 'ant-design-vue/lib/table/interface'; import type { PaginationProps } from 'ant-design-vue/lib/pagination/Pagination'; import type { ButtonProps } from 'ant-design-vue/lib/button/buttonTypes'; export interface ActionItem { type: 'popconfirm' | 'select' | 'button' | 'text'; text: string; permission: { action: 'delete'; effect: 'disabled'; }; props: ButtonProps | any; func: ({ record }: { record: any; }, refreshTableData: any) => any; } export interface Columns extends ColumnProps { actions?: ActionItem[]; dataIndex: string; } export declare type pageOption = Partial; export interface Props extends Omit { columns: Columns[]; rowKey: string | ((record: any) => string); pageOption: pageOption; getListFunc: (prams: any) => any; dragColEnable: boolean; dragRowEnable: boolean; }