// Admin 模块统一导出
export * from './api/adminDashboard'
export * from './api/adminUsers'
export * from './api/adminMgr'
export * from './api/adminWallet'
export * from './api/adminAudit'
export * from './api/systemConfigs'
export * from './composables/useAdminTable'
export * from './composables/useAdminPaginatedTable'

// adminAuth 导出（不包括 AdminRole，避免与 adminRoles 冲突）
export {
  fetchAdminCaptcha,
  loginAdmin,
  logoutAdmin,
  refreshAdminSession,
  fetchAdminMe,
  updateSupportStatus,
  type AdminUser,
  type AdminTokenPair,
  type AdminLoginData,
  type AdminCaptcha
} from './api/adminAuth'

// adminRoles 导出
export {
  fetchRoles,
  fetchRole,
  createRole,
  updateRole,
  deleteRole,
  fetchPermissions,
  type Role,
  type Permission
} from './api/adminRoles'
