starrail-manager
Version:
The StarRail Manager is a Node.js wrapper for the MiHoMo API and StarRail Data used in Honkai: StarRail.\ **This is not an official Honkai: StarRail project.**
24 lines (23 loc) • 521 B
TypeScript
interface ClientOptions {
lang?: string;
}
/**
* get light cone data
*/
export declare class LightCone {
private lang;
constructor(options?: ClientOptions);
/**
* get light cone base data from StarRailRes
* @param id - light cone id
* @returns light cone data in json
*/
getData(id: number): any;
/**
* get light cone other data from StarRailRes
* @param id - light cone id
* @returns light cone data in json
*/
getRank(id: number): any;
}
export {};