/** Public API of the reviews module. */
export { registerReviewsRoutes, type ReviewsRoutesDeps } from './api/reviews.routes.js';
export { ReviewsService } from './application/reviews-service.js';
export { PgReviewsRepository } from './infrastructure/pg-reviews-repository.js';
export { PgOrderItemVerifier } from './infrastructure/pg-order-item-verifier.js';
export {
  ReviewNotEligibleError,
  DuplicateReviewError,
  ReviewNotFoundError,
  InvalidReviewError,
} from './domain/errors.js';
export type { ReviewsRepository, OrderItemVerifier } from './domain/ports.js';
export type {
  Review,
  ReviewStatus,
  SubmitReviewCommand,
  PublishedReview,
  ProductReviewAggregate,
} from './domain/review.js';
