import _fetcher from './_fetcher'; declare type Sample_Platform = 'steam' | 'console' | 'kakao'; declare type Platform = 'kakao' | 'stadia' | 'steam' | 'tournament' | 'psn' | 'xbox' | 'console'; declare type Region = 'pc-as' | 'pc-eu' | 'pc-jp' | 'pc-kakao' | 'pc-krjp' | 'pc-na' | 'pc-oc' | 'pc-ru' | 'pc-sa' | 'pc-sea' | 'pc-tournament' | 'psn-as' | 'psn-eu' | 'psn-na' | 'psn-oc' | 'xbox-as' | 'xbox-eu' | 'xbox-na' | 'xbox-oc' | 'xbox-sa'; declare type GameMode = 'solo' | 'solo-fpp' | 'duo' | 'duo-fpp' | 'squad' | 'squad-fpp'; interface API { players(platform: Platform, username: string): Promise; player(platform: Platform, userid: string): Promise; seasons(platform: Platform): Promise; lifetime(platform: Platform, userid: string): Promise; stat(platform: Platform, userid: string, seasonid: string): Promise; rankedStat(platform: Platform, userid: string, seasonid: string): Promise; weapon(platform: Platform, userid: string): Promise; match(platform: Platform, matchid: string): Promise; leaderboards(platform: Platform | Region, seasonid: string, gameMode: GameMode): Promise; tournaments(tid: string): Promise; samples(platform: Sample_Platform): Promise; status(): Promise; $platform(_platform: string): API_Platform; } interface API_Season { stat(userid: string): Promise; rankedStat(userid: string): Promise; leaderboards(gameMode: GameMode): Promise; } interface API_User { json(): Promise; weapon(): Promise; lifetime(): Promise; stat(seasonid: string): Promise; rankedStat(seasonid: string): Promise; } interface API_Platform { $season(_seasonid: string): API_Season; $user(_userid: string): API_User; seasons(): Promise; players(username: string): Promise; player(userid: string): Promise; lifetime(userid: string): Promise; match(matchid: string): Promise; weapon(userid: string): Promise; } declare class createInstance extends _fetcher implements API { constructor(newKey?: string); players(platform: Platform, username: string): Promise; player(platform: Platform, userid: string): Promise; seasons(platform: Platform): Promise; lifetime(platform: Platform, userid: string): Promise; stat(platform: Platform, userid: string, seasonid: string): Promise; rankedStat(platform: Platform, userid: string, seasonid: string): Promise; weapon(platform: Platform, userid: string): Promise; match(platform: Platform, matchid: string): Promise; leaderboards(platform: Platform | Region, seasonid: string, gameMode: GameMode): Promise; tournaments(tid?: string): Promise; samples(platform: Sample_Platform): Promise; status(): Promise; $platform(_platform: Platform): API_Platform; } export default createInstance;