import { APIApplicationCommandBasicOption, APIApplicationCommandSubcommandOption, ApplicationCommandOptionType } from "discord-api-types/v10"; import { ToAPIApplicationCommandOptions } from "../CommandBuilderBase.js"; import type { SlashCommandAttachmentOption } from "./attachment.js"; import type { SlashCommandBooleanOption } from "./boolean.js"; import type { SlashCommandChannelOption } from "./channel.js"; import type { SlashCommandIntegerOption } from "./integer.js"; import type { SlashCommandMentionableOption } from "./mentionable.js"; import type { SlashCommandNumberOption } from "./number.js"; import type { SlashCommandRoleOption } from "./role.js"; import { SlashCommandOptionBase } from "./SlashCommandOptionBase.js"; import type { SlashCommandStringOption } from "./string.js"; import type { SlashCommandUserOption } from "./user.js"; export declare class SubcommandOption extends SlashCommandOptionBase { type: ApplicationCommandOptionType.Subcommand; options: ToAPIApplicationCommandOptions[]; /** * 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(): APIApplicationCommandSubcommandOption; }