import type { APIMessage, APIMessageComponentInteraction, ComponentType, InteractionType, LocaleString } from "discord-api-types/v10"; import BaseInteraction from "./BaseInteraction.mjs"; import { InteractionResponseMixin } from "./Response.mjs"; export default class MessageComponentInteraction extends BaseInteraction { type: InteractionType.MessageComponent; /** The custom id of the component */ customId: string; /** For components, the message they were attached to */ message: APIMessage; /** The type of the component */ componentType: ComponentType; /** The selected language of the invoking user */ locale: LocaleString; constructor(interaction: APIMessageComponentInteraction); } declare const allowedResponses: ("reply" | "editReply" | "deleteReply" | "followUp" | "fetchReply" | "deferReply" | "showModal" | "deferUpdate" | "update")[]; export default interface MessageComponentInteraction extends InteractionResponseMixin { } export {};