import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"; /** * Basically `SlashCommandBuilder` but with name and description * @returns SlashCommandBuilder with given name and description set */ export declare function CocoaBuilderFull(name: string, description?: string): SlashCommandBuilder; /** * **NOTE**: Only usable with `CogSlashClass` * * Like `CocoaBuilderFull` but you don't need to specify name. * * @returns SlashCommandBuilder with given description set */ export declare function CocoaBuilder(description?: string): SlashCommandBuilder; /** * Usage: * ```js * CocoaBuilder().addStringOption(CocoaOption("url", "URL of Song")); * ``` * The goal of this function is to shorten the redundant code. * * description and required are optional, `required` is default to `false` */ export declare function CocoaOption(name: string, description?: string, required?: boolean): (option: any) => any; /** * Usage: * ```js * CocoaBuilder().addBooleanOption(ephemeral(description, name)); * ``` * The goal of this function is to shorten the redundant codes. * * Description and Name are optional, specify them to override default */ export declare function Ephemeral(description?: string, name?: string): (option: any) => any; /** * Yet another function for shorten the redundant codes. * * Usage: * ```js * const ephemeral = getEphemeral(ctx); * ``` * Will expand to: * ```js * ctx.options.getBoolean("ephemeral") ?? false; * ``` * **Note**: If you have override the `Ephemeral()` name's field, * pass that as the second argument to correctly retrieve parameters! */ export declare function getEphemeral(ctx: ChatInputCommandInteraction, override?: string): boolean; //# sourceMappingURL=builders.d.ts.map