UNPKG

osu-api-extended

Version:

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

29 lines (28 loc) 844 B
import { IError } from "../types"; import { GamemodeEnum } from "../types/enums"; import { ConvertHitsResponse, TotalObjectsResponse } 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; count_100?: any; count_300?: any; count_50?: any; count_geki?: any; count_katu?: any; count_miss?: any; }; type Response = TotalObjectsResponse & IError; export declare const calculate_total_objects: (hits: Hits, mode: GamemodeEnum | string | number) => Response; type ResponseConvert = ConvertHitsResponse & IError; export declare const convert_hits: (hits: Hits, mode: GamemodeEnum | string | number) => ResponseConvert; export {};