@hizollo/osu-api 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts DELETED
@@ -1,728 +0,0 @@
1
- import { Buffer } from 'node:buffer';
2
-
3
- declare type ModsResolvable = number | string | bigint | ModsBitField | Array<ModsResolvable>;
4
- declare class ModsBitField {
5
- static Flags: {
6
- None: bigint;
7
- NoFail: bigint;
8
- Easy: bigint;
9
- TouchDevice: bigint;
10
- Hidden: bigint;
11
- HardRock: bigint;
12
- SuddenDeath: bigint;
13
- DoubleTime: bigint;
14
- Relax: bigint;
15
- HalfTime: bigint;
16
- Nightcore: bigint;
17
- Flashlight: bigint;
18
- Autoplay: bigint;
19
- SpunOut: bigint;
20
- AutoPilot: bigint;
21
- Perfect: bigint;
22
- Key4: bigint;
23
- Key5: bigint;
24
- Key6: bigint;
25
- Key7: bigint;
26
- Key8: bigint;
27
- FadeIn: bigint;
28
- Random: bigint;
29
- Cinema: bigint;
30
- Target: bigint;
31
- Key9: bigint;
32
- KeyCoop: bigint;
33
- Key1: bigint;
34
- Key3: bigint;
35
- Key2: bigint;
36
- ScoreV2: bigint;
37
- Mirror: bigint;
38
- };
39
- static KeyMod: bigint;
40
- static FreeModAllowed: bigint;
41
- static ScoreIncreaseMods: bigint;
42
- bitfield: bigint;
43
- constructor(bits?: ModsResolvable);
44
- any(bit: ModsResolvable): boolean;
45
- equals(bit: ModsResolvable): boolean;
46
- has(bit: ModsResolvable): boolean;
47
- add(...bits: Array<ModsResolvable>): this;
48
- remove(...bits: ModsResolvable[]): this;
49
- toArray(): string[];
50
- serialize(): {
51
- [key: string]: boolean;
52
- };
53
- isNone(): boolean;
54
- valueOf(): bigint;
55
- static resolve(bit: ModsResolvable): bigint;
56
- }
57
-
58
- declare enum GameMode {
59
- Standard = 0,
60
- Taiko = 1,
61
- Catch = 2,
62
- Mania = 3
63
- }
64
- declare enum UserRequestType {
65
- String = "string",
66
- Id = "id"
67
- }
68
- declare const Mods: {
69
- None: bigint;
70
- NoFail: bigint;
71
- Easy: bigint;
72
- TouchDevice: bigint;
73
- Hidden: bigint;
74
- HardRock: bigint;
75
- SuddenDeath: bigint;
76
- DoubleTime: bigint;
77
- Relax: bigint;
78
- HalfTime: bigint;
79
- Nightcore: bigint;
80
- Flashlight: bigint;
81
- Autoplay: bigint;
82
- SpunOut: bigint;
83
- AutoPilot: bigint;
84
- Perfect: bigint;
85
- Key4: bigint;
86
- Key5: bigint;
87
- Key6: bigint;
88
- Key7: bigint;
89
- Key8: bigint;
90
- FadeIn: bigint;
91
- Random: bigint;
92
- Cinema: bigint;
93
- Target: bigint;
94
- Key9: bigint;
95
- KeyCoop: bigint;
96
- Key1: bigint;
97
- Key3: bigint;
98
- Key2: bigint;
99
- ScoreV2: bigint;
100
- Mirror: bigint;
101
- };
102
- declare const ModsAbbreviation: {
103
- NoFail: string;
104
- Easy: string;
105
- TouchDevice: string;
106
- Hidden: string;
107
- HardRock: string;
108
- SuddenDeath: string;
109
- DoubleTime: string;
110
- Relax: string;
111
- HalfTime: string;
112
- Nightcore: string;
113
- Flashlight: string;
114
- Autoplay: string;
115
- SpunOut: string;
116
- AutoPilot: string;
117
- Perfect: string;
118
- Key4: string;
119
- Key5: string;
120
- Key6: string;
121
- Key7: string;
122
- Key8: string;
123
- FadeIn: string;
124
- Random: string;
125
- Cinema: string;
126
- Target: string;
127
- Key9: string;
128
- KeyCoop: string;
129
- Key1: string;
130
- Key3: string;
131
- Key2: string;
132
- ScoreV2: string;
133
- Mirror: string;
134
- };
135
- declare enum BeatmapApprovedState {
136
- Graveyard = -2,
137
- WIP = -1,
138
- Pending = 0,
139
- Ranked = 1,
140
- Approved = 2,
141
- Qualified = 3,
142
- Loved = 4
143
- }
144
- declare enum BeatmapGenre {
145
- Any = 0,
146
- Unspecified = 1,
147
- VideoGame = 2,
148
- Anime = 3,
149
- Rock = 4,
150
- Pop = 5,
151
- Other = 6,
152
- Novelty = 7,
153
- HipHop = 9,
154
- Electronic = 10,
155
- Metal = 11,
156
- Classic = 12,
157
- Folk = 13,
158
- Jazz = 14
159
- }
160
- declare enum BeatmapLanguage {
161
- Any = 0,
162
- Unspecified = 1,
163
- English = 2,
164
- Japanese = 3,
165
- Chinese = 4,
166
- Instrumental = 5,
167
- Korean = 6,
168
- French = 7,
169
- German = 8,
170
- Swedish = 9,
171
- Spanish = 10,
172
- Italian = 11,
173
- Russian = 12,
174
- Polish = 13,
175
- Other = 14
176
- }
177
- declare enum ScoreRank {
178
- XH = 0,
179
- X = 1,
180
- SH = 2,
181
- S = 3,
182
- A = 4,
183
- B = 5,
184
- C = 6,
185
- D = 7,
186
- F = 8
187
- }
188
- declare enum MatchScoringType {
189
- Score = 0,
190
- Accuracy = 1,
191
- Combo = 2,
192
- ScoreV2 = 3
193
- }
194
- declare enum MatchTeamType {
195
- HeadToHead = 0,
196
- TagCoop = 1,
197
- TeamVs = 2,
198
- TagTeamVs = 3
199
- }
200
- declare enum Team {
201
- None = 0,
202
- Blue = 1,
203
- Red = 2
204
- }
205
-
206
- interface ClientOptions {
207
- apiKey: string;
208
- }
209
- interface FetchUserBannerOptions {
210
- id: string;
211
- }
212
- interface UserScoreRankCount {
213
- ssh: number;
214
- ss: number;
215
- sh: number;
216
- s: number;
217
- a: number;
218
- }
219
- interface BeatmapDiffculty {
220
- ApproachRate: number;
221
- CircleSize: number;
222
- HPDrainRate: number;
223
- OverallDifficulty: number;
224
- aim: number | null;
225
- speed: number | null;
226
- rating: number;
227
- }
228
- interface BeatmapObjectCount {
229
- circle: number;
230
- slider: number;
231
- spinner: number;
232
- }
233
- interface ScoreStatistics {
234
- count50: number;
235
- count100: number;
236
- count300: number;
237
- countMiss: number;
238
- countKatu: number;
239
- countGeki: number;
240
- }
241
- interface RequestOptions<T extends OsuApiRequestOptions> {
242
- path: string;
243
- queries: T;
244
- }
245
- interface BeatmapScoreOtherInfo {
246
- mapId?: string;
247
- mode?: GameMode;
248
- }
249
- interface OsuApiRequestOptions {
250
- }
251
- interface APIGetUserRequestOptions extends OsuApiRequestOptions {
252
- u: string;
253
- m?: GameMode;
254
- type?: UserRequestType;
255
- event_days?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
256
- }
257
- interface GetUserRequestOptions {
258
- user: string;
259
- gameMode?: GameMode;
260
- type?: UserRequestType;
261
- eventDays?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
262
- }
263
- interface APIGetBeatmapsRequestOptions extends OsuApiRequestOptions {
264
- since?: string;
265
- s?: string;
266
- b?: string;
267
- u?: string;
268
- type?: UserRequestType;
269
- m?: GameMode;
270
- a?: boolean;
271
- h?: string;
272
- limit?: number;
273
- mods?: bigint;
274
- }
275
- interface GetBeatmapsRequestOptions {
276
- since?: Date;
277
- beatmapsetId?: string;
278
- beatmapId?: string;
279
- user?: string;
280
- type?: UserRequestType;
281
- mode?: GameMode;
282
- showConverted?: boolean;
283
- hash?: string;
284
- limit?: number;
285
- mods?: ModsResolvable;
286
- }
287
- interface APIGetScoresRequestOptions extends OsuApiRequestOptions {
288
- b: string;
289
- u?: string;
290
- m?: GameMode;
291
- mods?: bigint;
292
- type?: UserRequestType;
293
- limit?: number;
294
- }
295
- interface GetScoreRequestOptions {
296
- beatmapId: string;
297
- user?: string;
298
- mode?: GameMode;
299
- mods?: ModsResolvable;
300
- type?: UserRequestType;
301
- limit?: number;
302
- }
303
- interface APIGetUserBestRequestOptions extends OsuApiRequestOptions {
304
- u: string;
305
- m?: GameMode;
306
- type?: UserRequestType;
307
- limit?: number;
308
- }
309
- interface GetUserBestRequestOptions {
310
- user: string;
311
- mode?: GameMode;
312
- type?: UserRequestType;
313
- limit?: number;
314
- }
315
- interface APIGetUserRecentRequestOptions extends OsuApiRequestOptions {
316
- u: string;
317
- m?: GameMode;
318
- type?: UserRequestType;
319
- limit?: number;
320
- }
321
- interface GetUserRecentRequestOptions {
322
- user: string;
323
- mode?: GameMode;
324
- type?: UserRequestType;
325
- limit?: number;
326
- }
327
- interface APIGetReplayRequestOptions extends OsuApiRequestOptions {
328
- b?: string;
329
- u?: string;
330
- m?: GameMode;
331
- s?: string;
332
- type?: UserRequestType;
333
- mods?: bigint;
334
- }
335
- interface GetReplayRequestOptions {
336
- beatmapId?: string;
337
- user?: string;
338
- mode?: GameMode;
339
- scoreId?: string;
340
- type?: UserRequestType;
341
- mods?: ModsResolvable;
342
- }
343
- interface APIGetMatchRequestOptions extends OsuApiRequestOptions {
344
- mp: string;
345
- }
346
- interface GetMatchRequestOptions {
347
- matchId: string;
348
- }
349
-
350
- interface APIUser {
351
- user_id: string;
352
- username: string;
353
- join_date: string;
354
- count300: string;
355
- count100: string;
356
- count50: string;
357
- playcount: string;
358
- ranked_score: string;
359
- total_score: string;
360
- pp_rank: string;
361
- level: string;
362
- pp_raw: string;
363
- accuracy: string;
364
- count_rank_ss: string;
365
- count_rank_ssh: string;
366
- count_rank_s: string;
367
- count_rank_sh: string;
368
- count_rank_a: string;
369
- country: string;
370
- total_seconds_played: string;
371
- pp_country_rank: string;
372
- events: Array<APIUserEvent>;
373
- }
374
- interface APIUserEvent {
375
- display_html: string;
376
- beatmap_id: string;
377
- beatmapset_id: string;
378
- date: string;
379
- epicfactor: string;
380
- }
381
- interface APIBeatmap {
382
- beatmapset_id: string;
383
- beatmap_id: string;
384
- approved: '-2' | '-1' | '0' | '1' | '2' | '3' | '4';
385
- total_length: string;
386
- hit_length: string;
387
- version: string;
388
- file_md5: string;
389
- diff_size: string;
390
- diff_overall: string;
391
- diff_approach: string;
392
- diff_drain: string;
393
- mode: string;
394
- count_normal: string;
395
- count_slider: string;
396
- count_spinner: string;
397
- submit_date: string;
398
- approved_date: string | null;
399
- last_update: string;
400
- artist: string;
401
- title: string;
402
- creator: string;
403
- creator_id: string;
404
- bpm: string;
405
- source: string;
406
- tags: string;
407
- genre_id: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '9' | '10' | '11' | '12' | '13' | '14';
408
- language_id: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14';
409
- favourite_count: string;
410
- rating: string;
411
- download_unavailable: '0' | '1';
412
- audio_unavailable: '0' | '1';
413
- playcount: string;
414
- passcount: string;
415
- max_combo: string | null;
416
- diff_aim: string | null;
417
- diff_speed: string | null;
418
- difficultyrating: string | null;
419
- }
420
- interface APIBasicScore {
421
- score: string;
422
- maxcombo: string;
423
- count50: string;
424
- count100: string;
425
- count300: string;
426
- countmiss: string;
427
- countkatu: string;
428
- countgeki: string;
429
- perfect: '0' | '1';
430
- enabled_mods: string;
431
- user_id: string;
432
- rank: keyof typeof ScoreRank;
433
- }
434
- interface APIUserRecentPlayedScore extends APIBasicScore {
435
- date: string;
436
- beatmap_id: string;
437
- }
438
- interface APIUserBestPerformanceScore extends APIUserRecentPlayedScore {
439
- score_id: string;
440
- pp: string;
441
- replay_available: '0' | '1';
442
- }
443
- interface APIBeatmapScore extends APIBasicScore {
444
- date: string;
445
- score_id: string;
446
- username: string;
447
- pp: string;
448
- replay_available: '0' | '1';
449
- }
450
- interface APIMatchScore extends APIBasicScore {
451
- slot: string;
452
- team: '0' | '1' | '2';
453
- pass: '0' | '1';
454
- }
455
- interface APIMatchData {
456
- match_id: string;
457
- name: string;
458
- start_time: string;
459
- end_time: string | null;
460
- }
461
- interface APIMatchGameData {
462
- game_id: string;
463
- start_time: string;
464
- end_time: string;
465
- beatmap_id: string;
466
- play_mode: '0' | '1' | '2' | '3';
467
- match_type: string;
468
- scoring_type: '0' | '1' | '2' | '3';
469
- team_type: '0' | '1' | '2' | '3';
470
- mods: string;
471
- scores: Array<APIMatchScore>;
472
- }
473
- interface APIMatch {
474
- match: APIMatchData;
475
- games: Array<APIMatchGameData>;
476
- }
477
- interface APIMatchNotFound {
478
- match: 0;
479
- games: [];
480
- }
481
- interface APIReplay {
482
- content: string;
483
- encoding: 'base64';
484
- }
485
-
486
- declare class Replay {
487
- readonly client: Client;
488
- readonly content: string;
489
- readonly stream: Buffer;
490
- constructor(client: Client, data: APIReplay);
491
- }
492
-
493
- declare class Beatmapset {
494
- readonly client: Client;
495
- readonly beatmaps: Array<Beatmap>;
496
- readonly id: string;
497
- readonly approvedState: BeatmapApprovedState;
498
- readonly length: number;
499
- readonly submitDate: Date;
500
- readonly approvedDate: Date | null;
501
- readonly lastUpdate: Date;
502
- readonly artist: string;
503
- readonly title: string;
504
- readonly creator: string;
505
- readonly creatorId: string;
506
- readonly source: string;
507
- readonly tags: string[];
508
- readonly genre: BeatmapGenre;
509
- readonly language: BeatmapLanguage;
510
- readonly favoriteCount: number;
511
- readonly rating: number;
512
- readonly downloadUnavailable: boolean;
513
- readonly audioUnavailable: boolean;
514
- constructor(client: Client, data: Beatmap, maps: Array<Beatmap>);
515
- beatmapsetURL(): string;
516
- coverImageURL(): string;
517
- coverThumbnailURL(): string;
518
- getCreator(): Promise<User | undefined>;
519
- }
520
-
521
- declare class UserEvent {
522
- readonly user: User;
523
- readonly displayHtml: string;
524
- readonly beatmapId: string;
525
- readonly beatmapsetId: string;
526
- readonly date: Date;
527
- readonly epicfactor: number;
528
- constructor(user: User, data: APIUserEvent);
529
- getBeatmap(): Promise<Beatmap | undefined>;
530
- getBeatmapset(): Promise<Beatmapset | undefined>;
531
- }
532
-
533
- declare class User {
534
- readonly client: Client;
535
- readonly id: string;
536
- readonly username: string;
537
- readonly joinDate: Date;
538
- readonly playcount: number;
539
- readonly level: number;
540
- readonly country: string;
541
- readonly playtime: number;
542
- readonly events: Array<UserEvent>;
543
- banner: string | null;
544
- readonly count300: number;
545
- readonly count100: number;
546
- readonly count50: number;
547
- readonly rankedScore: number;
548
- readonly totalScore: number;
549
- readonly rank: number;
550
- readonly countryRank: number;
551
- readonly pp: number;
552
- readonly accuracy: number;
553
- readonly scoreRankCount: UserScoreRankCount;
554
- constructor(client: Client, data: APIUser);
555
- avatarURL(): string;
556
- profileURL(): string;
557
- fetchBanner(force?: boolean): Promise<string>;
558
- getBest(options?: Omit<GetUserBestRequestOptions, "user" | "type">): Promise<BeatmapScore[]>;
559
- getRecent(options?: Omit<GetUserRecentRequestOptions, "user" | "type">): Promise<BeatmapScore[]>;
560
- }
561
-
562
- declare class Beatmap {
563
- readonly client: Client;
564
- readonly id: string;
565
- readonly beatmapsetId: string;
566
- readonly approvedState: BeatmapApprovedState;
567
- readonly totalLength: number;
568
- readonly hitLength: number;
569
- readonly diffcultyName: string;
570
- readonly hash: string;
571
- readonly difficulty: BeatmapDiffculty;
572
- readonly mode: GameMode;
573
- readonly objectCount: BeatmapObjectCount;
574
- readonly submitDate: Date;
575
- readonly approvedDate: Date | null;
576
- readonly lastUpdate: Date;
577
- readonly artist: string;
578
- readonly title: string;
579
- readonly creator: string;
580
- readonly creatorId: string;
581
- readonly bpm: number;
582
- readonly source: string;
583
- readonly tags: string[];
584
- readonly genre: BeatmapGenre;
585
- readonly language: BeatmapLanguage;
586
- readonly favoriteCount: number;
587
- readonly rating: number;
588
- readonly downloadUnavailable: boolean;
589
- readonly audioUnavailable: boolean;
590
- readonly playcount: number;
591
- readonly passcount: number;
592
- readonly maxCombo: number | null;
593
- constructor(client: Client, data: APIBeatmap);
594
- beatmapsetURL(): string;
595
- beatmapURL(): string;
596
- coverImageURL(): string;
597
- coverThumbnailURL(): string;
598
- getCreator(): Promise<User | undefined>;
599
- getBeatmapset(): Promise<Beatmapset>;
600
- }
601
-
602
- declare type APIScore = APIBasicScore | APIUserRecentPlayedScore | APIUserBestPerformanceScore | APIBeatmapScore | APIMatchScore;
603
- declare abstract class BaseScore {
604
- readonly client: Client;
605
- readonly score: number;
606
- readonly maxCombo: number;
607
- readonly statistics: ScoreStatistics;
608
- readonly perfect: boolean;
609
- readonly enabledMods: ModsBitField;
610
- readonly userId: string;
611
- readonly rank: ScoreRank;
612
- readonly mode: GameMode;
613
- readonly beatmapId: string;
614
- readonly accuracy: number;
615
- constructor(client: Client, data: APIScore, other: BeatmapScoreOtherInfo);
616
- getPlayer(options?: Omit<GetUserRequestOptions, "user" | "type">): Promise<User | undefined>;
617
- getBeatmap(): Promise<Beatmap>;
618
- getReplay(): Promise<Replay>;
619
- }
620
-
621
- declare class BeatmapScore extends BaseScore {
622
- readonly date: Date;
623
- readonly scoreId: string | null;
624
- readonly username: string | null;
625
- readonly pp: number | null;
626
- readonly replayAvailable: boolean | null;
627
- constructor(client: Client, data: APIBeatmapScore, other: BeatmapScoreOtherInfo);
628
- constructor(client: Client, data: APIUserBestPerformanceScore, other: BeatmapScoreOtherInfo);
629
- constructor(client: Client, data: APIUserRecentPlayedScore, other: BeatmapScoreOtherInfo);
630
- scoreURL(): string | null;
631
- }
632
-
633
- declare abstract class BaseManager {
634
- readonly client: Client;
635
- constructor(client: Client);
636
- }
637
-
638
- declare class UserManager extends BaseManager {
639
- getUser(options: GetUserRequestOptions): Promise<User[]>;
640
- fetchBanner({ id }: FetchUserBannerOptions): Promise<string>;
641
- getUserBest(options: GetUserBestRequestOptions): Promise<BeatmapScore[]>;
642
- getUserRecent(options: GetUserRecentRequestOptions): Promise<BeatmapScore[]>;
643
- }
644
-
645
- declare class BeatmapManager extends BaseManager {
646
- getBeatmaps(options?: GetBeatmapsRequestOptions): Promise<Beatmap[]>;
647
- }
648
-
649
- declare class ScoreManager extends BaseManager {
650
- getScores(options: GetScoreRequestOptions): Promise<BeatmapScore[]>;
651
- }
652
-
653
- declare class ReplayManager extends BaseManager {
654
- getReplay(options: GetReplayRequestOptions): Promise<Replay>;
655
- }
656
-
657
- declare class MatchScore extends BaseScore {
658
- readonly slot: number;
659
- readonly team: Team;
660
- readonly pass: boolean;
661
- constructor(client: Client, data: APIMatchScore, other: BeatmapScoreOtherInfo);
662
- }
663
-
664
- declare class MatchGame {
665
- readonly client: Client;
666
- readonly match: Match;
667
- readonly id: string;
668
- readonly startAt: Date;
669
- readonly endAt: Date;
670
- readonly beatmapId: string;
671
- readonly mode: GameMode;
672
- readonly matchType: number;
673
- readonly scoringType: MatchScoringType;
674
- readonly teamType: Team;
675
- readonly mods: ModsBitField;
676
- readonly scores: Array<MatchScore>;
677
- constructor(match: Match, data: APIMatchGameData);
678
- getBeatmap(): Promise<Beatmap | undefined>;
679
- }
680
-
681
- declare class Match {
682
- readonly client: Client;
683
- readonly id: string;
684
- readonly name: string;
685
- readonly startAt: Date;
686
- readonly endAt: Date | null;
687
- readonly games: Array<MatchGame>;
688
- constructor(client: Client, data: APIMatch);
689
- }
690
-
691
- declare class MatchManager extends BaseManager {
692
- getMatch(options: GetMatchRequestOptions): Promise<Match | null>;
693
- }
694
-
695
- declare class Client {
696
- private apiKey;
697
- users: UserManager;
698
- beatmaps: BeatmapManager;
699
- scores: ScoreManager;
700
- replays: ReplayManager;
701
- matches: MatchManager;
702
- constructor(options: ClientOptions);
703
- request<T extends OsuApiRequestOptions>(options: RequestOptions<T>): Promise<any>;
704
- }
705
-
706
- declare abstract class URLBuilder {
707
- private static gameModeToURLPattern;
708
- static avatar(id: string): string;
709
- static profile(idOrName: string): string;
710
- static banner(userId: string, hash: string, ext: string): string;
711
- static defaultBanner(id: string, ext: string): string;
712
- static beatmapsetURL(beatmapsetId: string): string;
713
- static beatmapURL(beatmapsetId: string, beatmapId: string, mode: GameMode): string;
714
- static beatmapCoverImage(beatmapsetId: string): string;
715
- static beatmapCoverThumbnail(beatmapsetId: string): string;
716
- static scoreURL(mode: GameMode, scoreId: string): string;
717
- }
718
-
719
- declare abstract class AccuracyCalculator {
720
- static standard(count300: number, count100: number, count50: number, countMiss: number): number;
721
- static taiko(count300: number, count100: number, countMiss: number): number;
722
- static catch(count300: number, count100: number, count50: number, countKatu: number, countMiss: number): number;
723
- static mania(count300: number, count100: number, count50: number, countKatu: number, countGeki: number, countMiss: number): number;
724
- static maniaV2(count300: number, count100: number, count50: number, countKatu: number, countGeki: number, countMiss: number): number;
725
- static calculate(score: BaseScore, v2?: boolean): number;
726
- }
727
-
728
- export { APIBasicScore, APIBeatmap, APIBeatmapScore, APIGetBeatmapsRequestOptions, APIGetMatchRequestOptions, APIGetReplayRequestOptions, APIGetScoresRequestOptions, APIGetUserBestRequestOptions, APIGetUserRecentRequestOptions, APIGetUserRequestOptions, APIMatch, APIMatchData, APIMatchGameData, APIMatchNotFound, APIMatchScore, APIReplay, APIScore, APIUser, APIUserBestPerformanceScore, APIUserEvent, APIUserRecentPlayedScore, AccuracyCalculator, BaseManager, BaseScore, Beatmap, BeatmapApprovedState, BeatmapDiffculty, BeatmapGenre, BeatmapLanguage, BeatmapManager, BeatmapObjectCount, BeatmapScore, BeatmapScoreOtherInfo, Beatmapset, Client, ClientOptions, FetchUserBannerOptions, GameMode, GetBeatmapsRequestOptions, GetMatchRequestOptions, GetReplayRequestOptions, GetScoreRequestOptions, GetUserBestRequestOptions, GetUserRecentRequestOptions, GetUserRequestOptions, Match, MatchGame, MatchManager, MatchScore, MatchScoringType, MatchTeamType, Mods, ModsAbbreviation, ModsBitField, ModsResolvable, OsuApiRequestOptions, Replay, ReplayManager, RequestOptions, ScoreManager, ScoreRank, ScoreStatistics, Team, URLBuilder, User, UserEvent, UserManager, UserRequestType, UserScoreRankCount };