import { type ChatInputApplicationCommandData, Collection, ChatInputCommandInteraction } from "discord.js"; import { SlashCommand } from "./SlashCommand.js"; import { SlashCommandGroup } from "./SlashCommandGroup.js"; import { SlashSubcommandGroup } from "./SlashSubcommandGroup.js"; export declare class SlashCommandManager { protected readonly path: string; readonly commands: Collection | SlashSubcommandGroup | Collection>>; constructor(path: string); private addSlashCommand; private _loadOption; private _loadSubcommandGroup; private _loadSubcommandOption; getOptions(i: ChatInputCommandInteraction): T; /** * Find the slash command data that was used within this interaction. * @param interaction The slash command that triggered this interaction * @returns */ findSlashCommand(interaction: ChatInputCommandInteraction): SlashCommand | null; reload(): Promise>; get count(): number; toJSON(): ChatInputApplicationCommandData[]; } //# sourceMappingURL=SlashCommandManager.d.ts.map