import type { AdaptorMentionableSelectInteraction, AdaptorRole, AdaptorUser, Snowflake } from "../../adaptor"; import type { Awaitable } from "../../util/types"; export type MentionableSelectValue = ({ type: "role"; } & AdaptorRole) | ({ type: "user"; } & AdaptorUser); /** * MentionableSelectコンポーネントが押されたときに送られるInteractionイベントを扱うhook * @param customId MentionableSelectコンポーネントのcustomId * @param handle Interactionを受け取ったときに実行される関数 * @see useMentionableSelectComponent */ export declare const useMentionableSelectEvent: (customId: Snowflake, handle: (interaction: Readonly, userOrRoles: readonly MentionableSelectValue[], deferUpdate: () => Promise) => Awaitable) => void; //# sourceMappingURL=useMentionableSelectEvent.d.ts.map