/**
 * Presentation-layer pricing utilities
 * These are UI-specific formatting helpers, not business logic
 */

import {
  getCatalogProductPriceDisplay,
  type CatalogProductBase,
  type CatalogPriceInfo,
} from "@customer-portal/domain/services";

// Re-export domain type for compatibility
export type PriceInfo = CatalogPriceInfo;

export function getDisplayPrice(item: CatalogProductBase): PriceInfo | null {
  return getCatalogProductPriceDisplay(item);
}
