// types/analytics/profile.uts

export type ReportStatus = 'pending' | 'ready' | 'failed' | 'scheduled' | 'shared' | string

export type RecentReport = {
  id: string
  title: string
  description: string
  status: ReportStatus
  created_at: string
}

export type OverviewData = {
  totalSales: string
  salesGrowth: number
  totalUsers: string
  userGrowth: number
  totalOrders: string
  orderGrowth: number
  conversionRate: number
  conversionGrowth: number
}

export type ReportCounts = {
  total: number
  pending: number
  scheduled: number
  shared: number
}

export type TodayInsights = {
  hotProduct: string
  peakTraffic: string
  conversionAnomaly: string
  mobileRatio: number
}

export type TrendDatum = { label: string; sales: number; orders: number }
