import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"; import { commandsDict } from "../../base/index.js"; import { CocoaSlash } from "../types.js"; import { SlashModuleClass } from "./module.js"; export declare const muckStorage: { [cogName: string]: commandsDict; }; export declare const muckFuture: { [cogName: string]: Array>; }; export declare const replaceNameKeyword = "__replace_with_method_name__"; /** * Example Usage * ```ts * @SlashCommand(new SlashCommandBuilder().setName("ping").setDescription("pong!")) * async ping(ctx: CommandInteraction) { * await ctx.reply("pong!"); * } * ``` * **Note**: If syntax highlight looks broken, blame your IDE. * You may look at harunon.js to see this in action */ export declare function SlashFull(command: CocoaSlash["command"] | Omit | SlashCommandBuilder, guild_ids?: string[]): (cog: SlashModuleClass, key: string, desc: TypedPropertyDescriptor | undefined) => void; export declare namespace SlashFull { var Ephemeral: (command: Omit | SlashCommandBuilder, guild_ids?: string[]) => (mod: SlashModuleClass, key: string, desc: TypedPropertyDescriptor<(ctx: ChatInputCommandInteraction, ephemeral: boolean) => Promise>) => void; var Future: (resolver: () => Promise>, guild_ids?: string[]) => (mod: SlashModuleClass, key: string, desc: TypedPropertyDescriptor) => void; } //# sourceMappingURL=legacy.d.ts.map