import { APIMessage, APIMessageApplicationCommandInteraction, APIMessageApplicationCommandInteractionData, ApplicationCommandOptionType, ApplicationCommandType } from "discord-api-types/v10"; import ApplicationCommandInteraction from "./ApplicationCommandInteraction.mjs"; import { BaseOption, type Options } from "./ChatInputInteraction.mjs"; export default class MessageCommandInteraction extends ApplicationCommandInteraction { commandType: ApplicationCommandType.Message; /** The options that the invoking user has provided for the command */ options: MessageContextMenuInteractionOption; /** The id of the target user */ targetId: string; /** The target user */ targetMessage: APIMessage; constructor(interaction: APIMessageApplicationCommandInteraction); } export declare class MessageOption extends BaseOption { type: ApplicationCommandOptionType; value: string; message: APIMessage; constructor(name: string, value: string, message: APIMessage); } export declare class MessageContextMenuInteractionOption { readonly options: Record; constructor(data: APIMessageApplicationCommandInteractionData); get(name: string, required: true): Options; get(name: string, required?: boolean): Options | undefined; getMessage(name: string, required: true): APIMessage; getMessage(name: string, required?: boolean): APIMessage | undefined; }