declare namespace UI { type ThemeColor = 'danger' | 'primary' | 'info' | 'success' | 'warning'; type DataTableBaseColumn = Partial>; type TableColumnCheck = import('@sa/hooks').TableColumnCheck; type SetTableColumnKey = Omit & { prop?: keyof T | (string & {}) }; type TableColumnWithKey = SetTableColumnKey, T>; type TableColumn = DataTableBaseColumn; /** * the type of table operation * * - add: add table item * - edit: edit table item */ type TableOperateType = 'add' | 'edit'; } // ======================================== element-plus ======================================== declare module 'element-plus/dist/locale/zh-cn.mjs' { const locale: any; export default locale; } declare module 'element-plus/dist/locale/en.mjs' { const locale: any; export default locale; }