// types/analytics/sales.uts

// Re-exporting shared types from dashboard for semantic clarity in the sales context.
import type { TrendData, TopProductItem, TopMerchantItem } from './dashboard.uts'

export type SalesTrendData = TrendData
export type ProductRank = TopProductItem
export type MerchantRank = TopMerchantItem

/**
 * Key Performance Indicators for the Sales Report page.
 */
export type SalesData = {
  gmv: number
  gmv_growth: number
  orders: number
  order_growth: number
  conversion_rate: number
  conversion_growth: number
  avg_order_amount: number
  avg_order_growth: number
}
