// types/analytics/delivery.uts

/**
 * Key Performance Indicators for the Delivery Analysis page.
 */
export type DeliveryData = {
  avg_delivery_time: number;
  time_growth: number;
  total_fee: number;
  avg_fee: number;
  avg_orders_per_driver: number;
  satisfaction_rate: number;
  satisfaction_growth: number;
};

/**
 * Represents a driver's ranking based on performance.
 */
export type DriverRank = { 
  id: string; 
  rank: number; 
  name: string; 
  orders: number; 
  rating: number 
};
