
export interface DomainMetrics {
  domain: string;
  da: number;
  pa: number;
  spamScore: number;
  totalBacklinks: number;
  linkingDomains: number;
  topKeywords: string[];
  competitors: string[];
  siteHealth: number;
  recommendations: string[];
  trustFlow: number;
  citationFlow: number;
  domainAge: string; // Added field for age
}

export interface HistoryItem {
  id: string;
  domain: string;
  timestamp: number;
  da: number;
  pa: number;
  domainAge: string;
}
