import { BBSApi } from './api'; import { Hoyo } from './utils/Hoyo'; import { GetRegionType, RegionType } from "./utils/Region"; type BasicParams = 'act_id' | 'uid' | 'region' | 'server'; export declare class GenshinAPI> { #private; private params; constructor(uid: U, cookie?: string); get region(): R; get hoyo(): Hoyo; param(feilds: K[]): Pick; fetch, Params extends BBSApi.Params>(api: Api, params: Params, sign?: boolean): Promise>; } export {};