import { RequestOptions } from '@mihoyo-kit/api'; import { SpiralAbyssScheduleType } from './constants'; import { GameStats, CharacterDetail, Character, SpiralAbyssData } from './types'; export declare class MihoyoGameRecordGeetestError extends Error { readonly name = "MihoyoGameRecordGeetestError"; readonly traceId: string; constructor(traceId: string); } /** * 获取原神游戏数据总览 * Fetch game record data (what you see in HoYoLab's Game Record, except Spiral Abyss) for given uid. * @param role_id UID */ export declare function getGenshinGameStats(role_id: number | string, options?: RequestOptions): Promise; export declare function waitGeetestForGameRecord(e: MihoyoGameRecordGeetestError): Promise; /** * 获取原神深境螺旋数据 * Fetch Spiral Abyss statistics data * @param role_id UID * @param schedule_type 本期或上期 (Current or previous) */ export declare function getSpiralAbyssData(role_id: number | string, schedule_type?: SpiralAbyssScheduleType, options?: RequestOptions): Promise; /** * 获取角色装备详情 * Fetch details of a player's characters, including weapon and reliquaries. */ export declare function getPlayerCharacterDetails(role_id: number | string, characters: Character[], options?: RequestOptions): Promise; export declare function getPlayerCharacterDetails(role_id: number | string, character_ids: number[], options?: RequestOptions): Promise; export declare function getPlayerCharacterDetails(role_id: number | string, data: GameStats, options?: RequestOptions): Promise;