import type { DiscordEmoji, DiscordGuildPreview } from '@discordeno/types'; import Base from '../../Base.js'; import type Client from '../../Client.js'; import type { ImageFormat, ImageSize } from '../../Client.js'; import { GuildToggles } from '../toggles/Guild.js'; export declare class GuildPreview extends Base { /** The client object */ client: Client; /** The name of the guild. */ name: string; /** The description of the guild. */ description: string | null; /** An array of guild emojis. */ emojis: DiscordEmoji[]; /** The approximate number of members in the guild. */ approximateMemberCount: number; /** The approximate number of presences in the guild. */ approximatePresenceCount: number; /** The guild's icon image url. */ _icon: bigint | null; /** The guild's splash image url. */ _splash: bigint | null; /** The guild's discovery splash image url. */ _discoverySplash: bigint | null; /** The guild's features. */ _features: GuildToggles; constructor(data: DiscordGuildPreview, client: Client); /** * @deprecated Use .client */ get _client(): Client; get icon(): string | undefined; get iconURL(): string | null; get splash(): string | undefined; get splashURL(): string | null; get discoverySplash(): string | undefined; get discoverySplashURL(): string | null; get features(): string[]; /** Get the guild's splash with the given format and size */ dynamicDiscoverySplashURL(format?: ImageFormat, size?: ImageSize): string | null; /** Get the guild's icon with the given format and size */ dynamicIconURL(format?: ImageFormat, size?: ImageSize): string | null; /** Get the guild's splash with the given format and size */ dynamicSplashURL(format?: ImageFormat, size?: ImageSize): string | null; toJSON(props?: string[]): Record; } export default GuildPreview; //# sourceMappingURL=Preview.d.ts.map