import type { PropertyUnit } from '../domain/property'

export interface IUnitProvider {
  getByPropertyId(propertyId: string): Promise<PropertyUnit[]>
  getById(unitId: string): Promise<PropertyUnit | null>
  update(unitId: string, data: Partial<PropertyUnit>): Promise<PropertyUnit>
}
