import { PrismaService } from '../prisma/prisma.service';
export declare class RankingsService {
    private prisma;
    constructor(prisma: PrismaService);
    getRankingByTournament(tournamentIdentifier: string): Promise<{
        position: number;
        user: {
            username: string;
            displayName: string;
        };
        id: string;
        updatedAt: Date;
        userId: string;
        tournamentId: string;
        totalPoints: number;
        exactScores: number;
        correctResults: number;
        rank: number | null;
    }[]>;
    updateMatchResult(matchId: string, homeScore: number, awayScore: number): Promise<{
        success: boolean;
        matchId: string;
        homeScore: number;
        awayScore: number;
    }>;
    recalculateRanking(tournamentId: string): Promise<void>;
    getUserRankingPosition(tournamentId: string, userId: string): Promise<number>;
}
