import type { APIUserApplicationCommandInteraction } from "discord-api-types/v10"; import { APIUserApplicationCommandInteractionData, ApplicationCommandType } from "discord-api-types/v10"; import { InteractionDataResolvedGuildMember as InteractionResolvedGuildMember } from "../payloads/Member.mjs"; import User from "../payloads/User.mjs"; import ApplicationCommandInteraction from "./ApplicationCommandInteraction.mjs"; import { Options } from "./ChatInputInteraction.mjs"; export default class UserCommandInteraction extends ApplicationCommandInteraction { commandType: ApplicationCommandType.User; /** The options that the invoking user has provided for the command */ options: UserContextMenuInteractionOption; /** The id of the target user */ targetId: string; /** The target user */ targetUser: User; /** The target member */ targetMember?: InteractionResolvedGuildMember; constructor(interaction: APIUserApplicationCommandInteraction); } export declare class UserContextMenuInteractionOption { readonly options: Record; constructor(data: APIUserApplicationCommandInteractionData, guildId?: string); get(name: string, required: true): Options; get(name: string, required?: boolean): Options | undefined; getUser(name: string, required: true): User; getUser(name: string, required?: boolean): User | undefined; getMember(name: string, required: true): InteractionResolvedGuildMember; getMember(name: string, required?: boolean): InteractionResolvedGuildMember | undefined; }