import { APIEmoji, EmojiFormat } from "discord-api-types/v10"; import User from "./User.mjs"; export declare class Emoji { /** Emoji id */ id: string | null; /** Emoji name (can be null only in reaction emoji objects) */ name: string | null; /** Roles this emoji is whitelisted to */ roles?: string[]; /** Roles this emoji is whitelisted to */ user?: User; /** Whether this emoji must be wrapped in colons */ requireColons?: boolean; /** Whether this emoji is managed */ managed?: boolean; /** Whether this emoji is animated */ animated?: boolean; /** Whether this emoji can be used, may be false due to loss of Server Boosts */ available?: boolean; constructor(emoji: APIEmoji); /** The emoji url for the emoji */ avatarURL(config?: { extension: EmojiFormat; size: number; }): string | null; } export default Emoji;