import { ChatInputCommandInteraction, Client } from "discord.js"; import { Awaitable, ManagementCenter } from "../base/index.js"; import { EmbedStyle } from "../main/index.js"; import { SlashModuleClass } from "./class/index.js"; import { GlobalCommand, SlashModule } from "./types.js"; export interface SlashEvents { error: (name: string, error: unknown, ctx: ChatInputCommandInteraction) => Awaitable; interaction: (name: string, ctx: ChatInputCommandInteraction) => Awaitable; } export declare class SlashCenter extends ManagementCenter { /** * @param client It is what it is * @param guild_ids Array of Guild IDs, will *throw error* if is `undefined`, use "Global" if you are registering Global Command */ constructor(client: Client, guild_ids: string[] | undefined | GlobalCommand); validateCommands(): Promise; private buildCommandsPack; /** Sync Slash Commands, Call this **ONLY** after client is ready */ syncCommands(): Promise; private handleInteraction; private useHelp; private helpStyle?; useHelpCommand(style?: EmbedStyle): void; private _useHelpCommand; private commandHelp; } //# sourceMappingURL=SlashCenter.d.ts.map