import type { TableProps } from 'ant-design-vue'; type DateFormat = 'YYYY' | 'YYYY-mm' | 'YYYY-mm-dd' | 'YYYY-mm-dd HH:MM:SS' | 'YYYY-mm-dd HH:MM:SS QQQQ' | 'YYYY-mm-dd HH:MM:SS WWW' | 'YYYY-mm-dd HH:MM:SS ZZZ' | 'YYYY-mm-dd HH:MM:SS WWW QQQQ ZZZ'; type InferArrObj = T extends (infer U)[] ? U : never; type RecordKey = Partial | 'operation' | 'action' | 'index'; export type UTableColumns = (InferArrObj['columns']> & { key: RecordKey; dataIndex?: RecordKey; dateFormat?: DateFormat; })[]; export interface UTableProps extends TableProps { columns?: UTableColumns; density?: 'compact' | 'default' | 'loose'; striped?: boolean; tools?: string; loading?: boolean; isTools?: boolean; onRefresh?: () => void; onExport?: () => void; onImport?: () => void; } export {};