import type { Client } from '../client/Client'; import { DataManager } from './DataManager'; import type { Guild } from './Guild'; import { ImageURLOptions, User } from './User'; /** * Represents a Guild Member on Discord */ declare class GuildMember extends DataManager { avatar: string | null; nickname: string | null; joinedTimestamp: number | null; guild: Guild; user: User; constructor(client: Client, memberData: any, guild: Guild); /** * A link to the member's guild avatar if they have one. Otherwise, a link to their {@link User#displayAvatarURL} will be returned * @param {ImageURLOptions} options - {@link ImageURLOptions} Options for the Image URL * @returns {string} */ displayAvatarURL({ format, size, forceStatic }: ImageURLOptions): string; /** * Fetches this GuildMember. * @returns {Promise} */ fetch(): Promise>; /** * The member's id * @type {string} * @readonly */ get id(): string; /** * The time this member joined the guild * @type {?Date} * @readonly */ get createdAt(): Date; /** * The nickname of this member, or their username if they don't have one * @type {?string} * @readonly */ get displayName(): string; /** * When concatenated with a string, this automatically returns the members's mention instead of the GuildMember object * @returns {string} */ toString(): string; parseData(data: any): any; _update(data: any): GuildMember; } export { GuildMember }; //# sourceMappingURL=GuildMember.d.ts.map