import { ICookie } from '../../cookie';
import { DailyModule } from '../../module/daily';
import { RedeemModule } from '../../module/redeem';
import { ZZZOptions } from './zzz.interface';
import { IGame } from '../hoyolab';
import { ZZZRecordModule } from './record';
/**
 * Class representing the Zenless Zone Zero game.
 *
 * @public
 * @class
 * @category Main
 */
export declare class ZenlessZoneZero {
    /**
     * The Daily module for the Zenless Zone Zero game.
     *
     */
    readonly daily: DailyModule;
    /**
     * The Redeem module for the Zenless Zone Zero game.
     *
     */
    readonly redeem: RedeemModule;
    /**
     * The Record module for the Zenless Zone Zero game.
     *
     * This module provides methods to interact with the Record module endpoints.
     *
     */
    readonly record: ZZZRecordModule;
    /**
     * The cookie used for authentication.
     *
     */
    readonly cookie: ICookie;
    /**
     * The request object used to make HTTP requests.
     *
     */
    private request;
    /**
     * HoyYolab account object
     *
     */
    private _account;
    /**
     * The UID of the Zenless Zone Zero account.
     *
     */
    readonly uid: number | null;
    /**
     * The region of the Zenless Zone Zero account.
     *
     */
    readonly region: string | null;
    /**
     * The language of the Zenless Zone Zero account.
     *
     */
    private lang;
    /**
     * Create a new instance of ZenlessZoneZero.
     *
     * @constructor
     * @param {ZzzOptions} options - The options for the ZenlessZoneZero instance.
     */
    constructor(options: ZZZOptions);
    /**
     * Create a new instance of ZenlessZoneZero using a Hoyolab account.
     * If `uid` is not provided in the `options`, the account with the highest level will be used.
     *
     * @param {ZzzOptions} options - The options for the ZenlessZoneZero instance.
     * @returns {Promise<ZenlessZoneZero>} - A promise that resolves with a new ZenlessZoneZero instance.
     *
     * @remarks
     * If an object is instantiated from this method but options.cookie.cookieTokenV2 is not set,
     * it will throw an error. This method will access an Endpoint that contains a list of game accounts,
     * which requires the cookieTokenV2 option.
     *
     * @remarks
     * Because CookieTokenV2 has a short expiration time and cannot be refreshed so far.
     * It is evident that every few days, when logging in, it always requests authentication first.
     * Therefore, this method that uses CookieTokenV2 is not suitable if filled statically.
     */
    static create(options: ZZZOptions): Promise<ZenlessZoneZero>;
    /**
     * Setter for the account property. Prevents from changing the value once set
     * @param game The game object to set as the account.
     */
    set account(game: IGame | null);
    /**
     * Getter for the account property.
     * @returns {IGame | null} The current value of the account property.
     */
    get account(): IGame | null;
    /**
     * Retrieves daily information.
     *
     * @alias {@link DailyModule.info | DailyModule.info }
     * @deprecated Use through { @link ZenlessZoneZero.daily | ZenlessZoneZero.daily.info() } instead
     */
    dailyInfo(): Promise<import("../../module/daily").IDailyInfo>;
    /**
     *
     * @alias {@link DailyModule.rewards | DailyModule.rewards }
     * @deprecated Use through { @link ZenlessZoneZero.daily | ZenlessZoneZero.daily.rewards() } instead
     */
    dailyRewards(): Promise<import("../../module/daily").IDailyRewards>;
    /**
     * Fetch reward from daily login based on day
     *
     * @param day number | null
     * @alias {@link DailyModule.reward | DailyModule.reward }
     * @deprecated Use through { @link ZenlessZoneZero.daily | ZenlessZoneZero.daily.reward() } instead
     */
    dailyReward(day?: number | null): Promise<import("../../module/daily").IDailyReward>;
    /**
     * Claim current reward
     *
     * @alias {@link DailyModule.claim | DailyModule.claim }
     * @deprecated Use through { @link ZenlessZoneZero.daily | ZenlessZoneZero.daily.claim() } instead
     */
    dailyClaim(): Promise<import("../../module/daily").IDailyClaim>;
    /**
     * Redeem Code
     *
     * @param code string
     * @alias {@link RedeemModule.claim | RedeemModule.claim }
     * @deprecated Use through { @link ZenlessZoneZero.redeem | ZenlessZoneZero.redeem.claim() } instead
     */
    redeemCode(code: string): Promise<import("../../module/redeem").IRedeemCode>;
}
