import { BaseApplicationCommandData, Snowflake } from 'discord.js'; import { NecordBaseDiscovery } from '../context/index.js'; export interface BaseCommandMeta extends BaseApplicationCommandData { guilds?: Snowflake[]; } /** * Represents a command discovery. * @abstract * @url https://necord.org/interactions/slash-commands */ export declare abstract class CommandDiscovery extends NecordBaseDiscovery { /** * Returns the command name. */ getName(): string; /** * Sets the command guilds for register. * @param guilds */ setGuilds(guilds: Snowflake[] | Snowflake): void; /** * Checks if the command has a guild. */ hasGuild(guild: Snowflake): boolean | undefined; isGlobal(): boolean; /** * Returns the guilds. */ getGuilds(): Snowflake[] | undefined; }