import type { BigString, DiscordUser, UserFlags } from '@discordeno/types'; import Base from '../../Base.js'; import type Client from '../../Client.js'; import type { ImageFormat, ImageSize } from '../../Client.js'; import type PrivateChannel from '../channels/Private.js'; export declare class User extends Base { client: Client; bot: boolean; system: boolean; _avatar: bigint | null; username: string; discriminator: string; publicFlags?: UserFlags; _banner: bigint | null; accentColor?: number; constructor(data: DiscordUser, client: Client); /** @deprecated Use User.client Supported for Eris api compatibility. */ get _client(): Client; get avatar(): string | null; set avatar(value: BigString | null); get banner(): string | null; set banner(value: BigString | null); get avatarURL(): string | null; get bannerURL(): string | null; get defaultAvatar(): string; get defaultAvatarURL(): string; get mention(): string; get staticAvatarURL(): string; update(data: DiscordUser): void; /** Get the user's avatar with the given format and size */ dynamicAvatarURL(format?: ImageFormat, size?: ImageSize): string; /** Get the user's banner with the given format and size */ dynamicBannerURL(format?: ImageFormat, size?: ImageSize): string | null; /** * Get a DM channel with the user, or create one if it does not exist * @returns {Promise} */ getDMChannel(): Promise; toJSON(props?: string[]): Record; } export default User; //# sourceMappingURL=User.d.ts.map