UNPKG

osu-api-extended

Version:

Advanced osu! api wrapper for v1 and v2, with extra stuff

21 lines (20 loc) 526 B
import { IError } from "../types"; import { GamemodeEnum } from "../types/enums"; import { RankResponse } from "../types/tools"; type Hits = { 300?: any; 100?: any; 50?: any; 0?: any; geki?: any; katu?: any; perfect?: any; great?: any; good?: any; ok?: any; meh?: any; miss?: any; }; type Response = RankResponse & IError; export declare const calculate_rank: (hits: Hits, mods: string | number, mode: GamemodeEnum | string | number) => Response; export {};