import { Client, Collection } from 'discord.js'; import { CommandDiscovery } from './command.discovery'; import { ContextMenusService } from './context-menus'; import { SlashCommandsService } from './slash-commands'; /** * Represents a service that manages commands. */ export declare class CommandsService { private readonly client; private readonly contextMenusService; private readonly slashCommandsService; private readonly logger; constructor(client: Client, contextMenusService: ContextMenusService, slashCommandsService: SlashCommandsService); /** * Registers all commands. * */ registerAllCommands(): Promise; /** * Registers commands in a guild. * @param guildId */ registerInGuild(guildId: string): Promise>>; getCommands(): CommandDiscovery[]; getCommandsByGuilds(): Collection; getCommandsByCategoryMap(): Map; getCommandsMap(): Map; getGuildCommandsMap(guildId: string): Map>; getCommandByName(name: string): CommandDiscovery; getGlobalCommands(): CommandDiscovery[]; getGlobalCommandByName(name: string): CommandDiscovery; getGuildCommands(guildId: string): CommandDiscovery[]; getGuildCommandByName(guildId: string, name: string): CommandDiscovery; getAllCommandsAndSetDiscordResponseMeta(): void; }