// Scans page constants

export type VerdictType = "BLOCK" | "FLAG" | "PASS" | "ACK";

export const verdictLabels: Record<VerdictType, string> = {
  BLOCK: "Block",
  FLAG: "Flag",
  PASS: "Pass",
  ACK: "Acknowledged",
};

export const verdictColors: Record<VerdictType, string> = {
  BLOCK: "bg-red-500/20 text-red-700 dark:text-red-300",
  FLAG: "bg-amber-500/20 text-amber-700 dark:text-amber-300",
  PASS: "bg-emerald-500/20 text-emerald-700 dark:text-emerald-300",
  ACK: "bg-blue-500/20 text-blue-700 dark:text-blue-300",
};

export const verdictIcons: Record<VerdictType, string> = {
  BLOCK: "\u25CF", // ●
  FLAG: "\u26A0",  // ⚠
  PASS: "\u2713",  // ✓
  ACK: "\u2714",   // ✔
};

// Re-export shared formatters for convenience
export { formatRelativeTime, formatUnixDateTime } from "@/lib/format";
