UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

21 lines (20 loc) 789 B
import type { Language } from "../client/ValorantApiCom"; import { ValorantApiComService } from "../client/ValorantApiComService"; import type { LanguageResponse, Response } from "../client/ValorantApiComService"; export declare namespace PlayerCards { interface PlayerCards<L extends Language> { uuid: string; displayName: LanguageResponse<string, L>; isHiddenIfNotOwned: boolean; themeUuid: string; displayIcon: string; smallArt: string; wideArt: string; largeArt: string; assetPath: string; } } export declare class PlayerCards<L extends Language = any> extends ValorantApiComService { get(): Response<PlayerCards.PlayerCards<L>[]>; getByUuid(uuid: string): Response<PlayerCards.PlayerCards<L>>; }