import { Client } from "discord.js"; interface SlashListenOptions { onError?: { message?: string; flags?: number; callback?: (interaction: any, error: any) => any; }; } export declare class SlashController { #private; constructor(client: Client); /** * Deploy slash commands globally. * * @param commands List of slash command objects. */ deployGlobal(commands: any[]): Promise; /** * Deploy slash commands to specific guilds. * * @param commands List of slash command objects. * @param guilds Guild IDs where the commands will be registered. */ deployGuilds(commands: any[], guilds: string[]): Promise; /** * @deprecated Will be removed in v0.0.5. * Use {@link listen} instead. */ listenCommands(commands: any[], onErrorMessage?: string): Promise; /** * Listen for slash command executions. * * @param data Listener configuration options. * @param callback Optional callback executed after a command runs successfully. */ listen(data?: SlashListenOptions, callback?: (interaction: any) => any): Promise; } export {}; //# sourceMappingURL=slash.controller.d.ts.map