import { IGetBoardDTO } from '../interfaces/dto/get-board-dto.interface'; import { ILeaderboardListItemDTO } from '../interfaces/dto/leaderboard-list-item-dto.interface'; import { ILeaderboardPartialTable } from '../interfaces/dto/leaderboard-partial-table.interface'; import { FgBaseAPI } from './base-api'; export declare class FgLeaderboardAPI extends FgBaseAPI { protected _afterLoad(): void; getList(): Promise; getListFilled(): Promise; getBoard(id: number): Promise; /** * Uploads a new score. * @param {number} id Board ID. * @param {number} score Score. * @param {string} [name] Player name (optional). * @param {string} [matchId] Match ID (optional). * @param {string} [refId] Reference ID (optional). * @returns {Promise} */ addScore(id: number, score: number, name?: string | null, matchId?: string | null, refId?: string | null): Promise; /** * Uploads a new score. * @param {number} id Board ID. * @param {number} score Score. * @param {string} [name] Player name (optional). * @param {string} [matchId] Match ID (optional). * @param {string} [refId] Reference ID (optional). * @param {string} [secret] Secret for protection (optional). * @returns {Promise} */ addScoreWithProtection(id: number, score: number, secret: string, name?: string | null, matchId?: string | null, refId?: string | null, userId?: string | null): Promise; private listBoards; }