import type { Alert } from '@/lib/db/schema/insights';

export type AlertRow = Alert;

export interface AlertListResponse {
  data: AlertRow[];
}

export interface AlertCountResponse {
  total: number;
  bySeverity: Record<'info' | 'warning' | 'critical', number>;
}

export type AlertStatus = 'open' | 'dismissed' | 'resolved';
