import type { Brand, BrandPatch, NewBrand } from './brand.js';

export interface BrandRepository {
  findById(id: string): Promise<Brand | undefined>;
  findBySlug(slug: string): Promise<Brand | undefined>;
  list(): Promise<Brand[]>;
  create(input: NewBrand): Promise<Brand>;
  update(id: string, patch: BrandPatch): Promise<Brand | undefined>;
  delete(id: string): Promise<void>;
}
