import type { FreshnessRuleSource, StorageLocation } from '../enums/pantry.enums.js';
import type { ProductCategory } from '../enums/product.enums.js';

export interface FreshnessRule {
  id: string;
  householdId?: string;
  category: ProductCategory;
  storageLocation: StorageLocation;
  shelfLifeDays: number;
  openedLifeDays: number;
  freezerLifeDays?: number;
  spoilageSignsToCheck: string[];
  tips?: string;
  source: FreshnessRuleSource;
  createdAt: Date;
  updatedAt: Date;
}
