import type { AdaptorButtonInteraction } from "../../adaptor"; import type { Awaitable } from "../../util/types"; /** * Buttonコンポーネントが押されたときに送られるInteractionイベントを扱うhook * @param customId ButtonコンポーネントのcustomId * @param handle Interactionを受け取ったときに実行される関数 * * @see useButtonComponent */ export declare const useButtonEvent: (customId: string, handle: (interaction: Readonly, deferUpdate: () => Promise) => Awaitable) => void; //# sourceMappingURL=useButtonEvent.d.ts.map