/**
 * Tipos do serviço de Analytics
 */

export interface KPISummary {
  total_appointments: number;
  today: number;
  canceled: number;
  completed: number;
  pending: number;
  updated_at: string;
}

export interface AppointmentMetrics {
  total: number;
  byStatus: Record<string, number>;
  byDoctor: Array<{ doctor_id: string; count: number }>;
  byMonth: Array<{ month: string; count: number }>;
}
