UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

37 lines (36 loc) 1.32 kB
import type { Language } from "../client/ValorantApiCom"; import { ValorantApiComService } from "../client/ValorantApiComService"; import type { LanguageResponse, Response } from "../client/ValorantApiComService"; export declare namespace Maps { interface Maps<L extends Language> { uuid: string; displayName: LanguageResponse<string, L>; narrativeDescription: LanguageResponse<string, L>; tacticalDescription: LanguageResponse<string, L>; coordinates: LanguageResponse<string, L>; displayIcon: string; listViewIcon: string; listViewIconTall: string; splash: string; stylizedBackgroundImage: string; premierBackgroundImage: string; assetPath: string; mapUrl: string; xMultiplier: number; yMultiplier: number; xScalarToAdd: number; yScalarToAdd: number; callouts: Array<{ regionName: LanguageResponse<string, L>; superRegionName: LanguageResponse<string, L>; location: { x: number; y: number; }; }>; } } export declare class Maps<L extends Language = any> extends ValorantApiComService { get(): Response<Maps.Maps<L>[]>; getByUuid(uuid: string): Response<Maps.Maps<L>>; }