import { ButtonBuilder, ModalBuilder, SelectMenuBuilders } from "@discord-interactions/builders"; import type { APIApplicationCommandInteractionDataAttachmentOption, APIApplicationCommandInteractionDataBooleanOption, APIApplicationCommandInteractionDataChannelOption, APIApplicationCommandInteractionDataMentionableOption, APIApplicationCommandInteractionDataNumberOption, APIApplicationCommandInteractionDataRoleOption, APIApplicationCommandInteractionDataStringOption, APIApplicationCommandInteractionDataUserOption, APIAttachment, APIChatInputApplicationCommandInteraction, APIInteractionDataResolvedChannel, APIInteractionDataResolvedGuildMember, APIRole, APIUser } from "discord-api-types/v10"; import { DiscordApplication, ResponseCallback } from "../../DiscordApplication.js"; import { ChannelMessageResponse } from "../response-types.js"; import { BaseCommandContext } from "./ApplicationCommandContext.js"; export declare class SlashCommandContext extends BaseCommandContext { private options; /** * The parent command, if this is a subcommand. */ parentCommand?: string; /** * The subcommand group */ group?: string; constructor(app: DiscordApplication, interaction: APIChatInputApplicationCommandInteraction, timestamps: { signature: Date; received: Date; }, responseCallback: ResponseCallback); private parseOptions; createComponent(name: string, state?: object, ttl?: number): Promise; hasOption(name: string): boolean; getStringOption(name: string): APIApplicationCommandInteractionDataStringOption; getIntegerOption(name: string): APIApplicationCommandInteractionDataNumberOption; getBooleanOption(name: string): APIApplicationCommandInteractionDataBooleanOption; getUserOption(name: string): APIApplicationCommandInteractionDataUserOption & { user: APIUser; member?: APIInteractionDataResolvedGuildMember; }; getChannelOption(name: string): APIApplicationCommandInteractionDataChannelOption & { channel: APIInteractionDataResolvedChannel; }; getRoleOption(name: string): APIApplicationCommandInteractionDataRoleOption & { role: APIRole; }; getMentionableOption(name: string): APIApplicationCommandInteractionDataMentionableOption & { user?: APIUser; role?: APIRole; }; getNumberOption(name: string): APIApplicationCommandInteractionDataNumberOption; getAttachmentOption(name: string): APIApplicationCommandInteractionDataAttachmentOption & { attachment: APIAttachment; }; }