export type Language = "en_US" | "cs_CZ" | "de_DE" | "el_GR" | "en_AU" | "en_GB" | "en_PH" | "en_SG" | "es_AR" | "es_ES" | "es_MX" | "fr_FR" | "hu_HU" | "id_ID" | "it_IT" | "ja_JP" | "ko_KR" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "th_TH" | "tr_TR" | "vn_VN" | "zh_CN" | "zh_MY" | "zh_TW"; export default class Ddragon { /** * Create a new instance of Ddragon * * @param version The version that will be used for generating URLs * @param language The language that will be used for generating URLs * @param baseurl The baseurl that will be used for generating URLs */ constructor(version?: string, language?: Language, baseurl?: string); /** * You can find all valid Data Dragon versions in the versions file. Typically * there's only a single build of Data Dragon for a given patch, however * occasionally there will be additional builds. This typically occurs when * there's an error in the original build. As such, you should always use the * most recent Data Dragon version for a given patch for the best results. * * The latest version is always the first element in the array. */ versions: () => string; images: { /** * Gets the splash image of a champion + skin */ splash: (name: string, num: number) => string; /** * Gets the loading image of a champion + skin */ loading: (name: string, num: number) => string; /** * Get the champion tile of a champion + skin */ tile: (name: string, num: number) => string; /** * Get the champion centered image of a champion + skin */ centered: (name: string, num: number) => string; /** * A champion square */ champion: (full: string) => string; item: (full: string) => string; map: (full: string) => string; mission: (full: string) => string; passive: (full: string) => string; profileicon: (full: string) => string; spell: (full: string) => string; summoner: (full: string) => string; sprite: (sprite: string) => string; rune: (icon: string) => string; /** * A stat rune */ statMod: (statName: string) => string; }; data: { champion: (name: string) => string; champions: () => string; championsFull: () => string; item: () => string; language: () => string; map: () => string; missionAssets: () => string; profileicon: () => string; runes: () => string; summoner: () => string; }; /** * A compressed tarball (.tgz) which will contain all assets for a patch. */ dragontail: () => string; /** * All supported languages. */ languages: () => string; } //# sourceMappingURL=index.d.ts.map