import { BBSApi } from './api';
import { Hoyo } from './utils/Hoyo';
import { GetRegionType, RegionType } from "./utils/Region";
export declare class GenshinAPI<U extends `${number}` = never, R extends RegionType = GetRegionType<U>> {
    #private;
    constructor(uid: U, cookie?: string);
    get region(): R;
    get hoyo(): Hoyo;
    fetch<Api extends BBSApi.Keys<R>, Params extends BBSApi.Params<R, Api>>(api: Api, params: Params, sign?: boolean): Promise<BBSApi.RequestTyper<R>>;
}
