import { type ValuationEntity } from '../entities/valuation.entity';

export const VALUATION_REPOSITORY = Symbol('VALUATION_REPOSITORY');

export interface IValuationRepository {
  findById(id: string): Promise<ValuationEntity | null>;
  findByPropertyId(propertyId: string): Promise<ValuationEntity[]>;
  findLatestByPropertyId(propertyId: string): Promise<ValuationEntity | null>;
  save(entity: ValuationEntity): Promise<void>;
}
