UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

32 lines (31 loc) 1.09 kB
import type { Language } from "../client/ValorantApiCom"; import { ValorantApiComService } from "../client/ValorantApiComService"; import type { LanguageResponse, Response } from "../client/ValorantApiComService"; export declare namespace Gear { interface Gear<L extends Language> { uuid: string; displayName: LanguageResponse<string, L>; description: LanguageResponse<string, L>; displayIcon: string; assetPath: string; shopData: { cost: number; category: string; shopOrderPriority: number; categoryText: LanguageResponse<string, L>; gridPosition: { row: number; column: number; }; canBeTrashed: boolean; image: string; newImage: string; newImage2: string; assetPath: string; }; } } export declare class Gear<L extends Language = any> extends ValorantApiComService { get(): Response<Gear.Gear<L>[]>; getByUuid(uuid: string): Response<Gear.Gear<L>>; }