import type { DataOrError } from "../../common/error"; import type { Difficulty } from "gcm-database/maimai"; import type { Score } from "./types"; export interface MaimaiScoreAdapter { getPlayerBest50(username: string): Promise>; getPlayerInfo(username: string): Promise>; getPlayerProfilePicture(username: string): Promise>; getPlayerScore(username: string, chartIdentifier: string): Promise>>; getPlayerScores?(username: string, chartIdentifiers: string[]): Promise>; getPlayerLevel50(username: string, level: number, page: number, options?: { percise: boolean; }): Promise>; }