UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

17 lines (16 loc) 711 B
import type { Language } from "../client/ValorantApiCom"; import { ValorantApiComService } from "../client/ValorantApiComService"; import type { LanguageResponse, Response } from "../client/ValorantApiComService"; export declare namespace PlayerTitles { interface PlayerTitles<L extends Language> { uuid: string; displayName: LanguageResponse<string, L>; titleText: LanguageResponse<string, L>; isHiddenIfNotOwned: boolean; assetPath: string; } } export declare class PlayerTitles<L extends Language = any> extends ValorantApiComService { get(): Response<PlayerTitles.PlayerTitles<L>[]>; getByUuid(uuid: string): Response<PlayerTitles.PlayerTitles<L>>; }