import { TeamDrivingRaceFactsDto } from '../../domain/services/TeamDrivingRatingEventFactory';

/**
 * Port: ITeamRaceResultsProvider
 *
 * Provides race results for teams from the racing context.
 * This is a port that adapts the racing domain data to the rating system.
 */
export interface ITeamRaceResultsProvider {
  /**
   * Get race results for teams
   * Returns team race facts needed for rating calculations
   */
  getTeamRaceResults(raceId: string): Promise<TeamDrivingRaceFactsDto | null>;
}