import { type ApiUser } from "@discloudapp/api-types/v2"; import type { LocaleString } from "../@types"; import type DiscloudApp from "../discloudApp/DiscloudApp"; import Base from "./Base"; export default class User extends Base { private readonly _appIDs; private readonly _customdomains; private readonly _subdomains; private _id; private _locale; private _plan; private _planDataEnd; private _planDataEndTimestamp; private _ramUsedMb; private _totalRamMb; private _ramUsage; private _avatar; private _username; /** * Your applications ID * @readonly */ get appIDs(): Set; /** * Your custom domains on Discloud * @readonly */ get customdomains(): Set; /** * Your id * @readonly */ get id(): string; /** * Your locale * @readonly */ get locale(): string; /** * Your plan * @readonly */ get plan(): string; /** * Date of when will your plan end * @readonly */ get planDataEnd(): Date | null; /** * Timestamp of when will your plan end * @readonly */ get planDataEndTimestamp(): number | null; /** * Quantity of RAM was used for your applications * @readonly */ get ramUsedMb(): number; /** * Your subdomains on Discloud * @readonly */ get subdomains(): Set; /** * Your total RAM quantity * @readonly */ get totalRamMb(): number; /** * @readonly */ get avatar(): string | null; /** * @readonly */ get username(): string | null; constructor(discloudApp: DiscloudApp); get loaded(): boolean; protected _patch(data: Partial): this; get apps(): import("..").AppManager; /** * Set your locale on Discloud * * @param locale - Your locale like "en-US". * @see {@link LocaleString} */ setLocale(locale: L): Promise; /** * Fetch a user from Discloud API */ fetch(): Promise; toString(): string; }