UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

76 lines (75 loc) 2.54 kB
import type { Language } from "../client/ValorantApiCom"; import { ValorantApiComService } from "../client/ValorantApiComService"; import type { LanguageResponse, Response } from "../client/ValorantApiComService"; export declare namespace Internal { /** * ! unknown from website */ interface UUID<L extends Language> { uuid: string; type: string; displayName: LanguageResponse<string, L>; } interface RiotClientVersion { manifestFileName: string; userAgentVersion: string; riotClientFoundationInfo: { VS_FIXEDFILEINFO: { FileVersion: string; ProductVersion: string; FileFlagsMask: string; FileFlags: `${number}`; FileOS: string; FileType: string; FileSubtype: string; }; StringTable: { Language: `${number}`; CodePage: `${number}`; FileDescription: string; FileVersion: string; InternalName: string; OriginalFilename: string; ProductName: string; ProductVersion: string; CompanyName: string; LegalCopyright: string; }; Translation: { Language: `${number}`; CodePage: `${number}`; }; }; riotGamesApiInfo: { VS_FIXEDFILEINFO: { FileVersion: string; ProductVersion: string; FileFlagsMask: string; FileFlags: string; FileOS: string; FileType: string; FileSubtype: string; }; StringTable: { Language: `${number}`; CodePage: `${number}`; FileDescription: string; FileVersion: string; InternalName: string; OriginalFilename: string; ProductName: string; ProductVersion: string; CompanyName: string; LegalCopyright: string; }; Translation: { Language: `${number}`; CodePage: `${number}`; }; }; } } export declare class Internal<L extends Language = any> extends ValorantApiComService { uuid(): Response<Internal.UUID<L>[]>; riotClientVersion(): Response<Internal.RiotClientVersion>; }