import type { APIApplicationCommandBasicOption, ApplicationCommandType } from "discord-api-types/v10"; import { ChatInputCommandBuilderBase, CommandDataBase } from "./CommandBuilderBase.js"; import type { SlashCommandAttachmentOption } from "./options/attachment.js"; import type { SlashCommandBooleanOption } from "./options/boolean.js"; import type { SlashCommandChannelOption } from "./options/channel.js"; import type { SlashCommandIntegerOption } from "./options/integer.js"; import type { SlashCommandMentionableOption } from "./options/mentionable.js"; import type { SlashCommandNumberOption } from "./options/number.js"; import type { SlashCommandRoleOption } from "./options/role.js"; import type { SlashCommandStringOption } from "./options/string.js"; import type { SlashCommandUserOption } from "./options/user.js"; export declare type SlashCommandData = CommandDataBase & { type: ApplicationCommandType.ChatInput; options: APIApplicationCommandBasicOption[]; }; export declare class SlashCommandBuilder extends ChatInputCommandBuilderBase { /** * Adds a boolean option * * @param input A function that returns an option builder, or an already built builder */ addBooleanOption(input: SlashCommandBooleanOption): this; /** * Adds a user option * * @param input A function that returns an option builder, or an already built builder */ addUserOption(input: SlashCommandUserOption): this; /** * Adds a channel option * * @param input A function that returns an option builder, or an already built builder */ addChannelOption(input: SlashCommandChannelOption): this; /** * Adds a role option * * @param input A function that returns an option builder, or an already built builder */ addRoleOption(input: SlashCommandRoleOption): this; /** * Adds an attachment option * * @param input A function that returns an option builder, or an already built builder */ addAttachmentOption(input: SlashCommandAttachmentOption): this; /** * Adds a mentionable option * * @param input A function that returns an option builder, or an already built builder */ addMentionableOption(input: SlashCommandMentionableOption): this; /** * Adds a string option * * @param input A function that returns an option builder, or an already built builder */ addStringOption(input: SlashCommandStringOption | Omit | Omit): this; /** * Adds an integer option * * @param input A function that returns an option builder, or an already built builder */ addIntegerOption(input: SlashCommandIntegerOption | Omit | Omit): this; /** * Adds a number option * * @param input A function that returns an option builder, or an already built builder */ addNumberOption(input: SlashCommandNumberOption | Omit | Omit): this; toJSON(): SlashCommandData; }