import { Product } from '@/domain/entities';

/**
 * PORT — Contract for loading products (in-memory today, API/CMS tomorrow)
 */
export interface IProductRepository {
  findAll(): Product[];
  findBySlug(slug: string): Product | undefined;
  findByCategory(category: string): Product[];
  findFeatured(): Product[];
  findById(id: string): Product | undefined;
}