import type { Awaitable, ContextMenuCommandInteraction } from "discord.js"; import type { ContextMenuCommandHandlerEvents } from "../../typings/events.js"; import type { AkairoClient } from "../AkairoClient.js"; import { AkairoHandler, AkairoHandlerOptions } from "../AkairoHandler.js"; import type { InhibitorHandler } from "../inhibitors/InhibitorHandler.js"; import { ContextMenuCommand } from "./ContextMenuCommand.js"; export declare class ContextMenuCommandHandler extends AkairoHandler { inhibitorHandler?: InhibitorHandler; constructor(client: AkairoClient, options: ContextMenuCommandHandlerOptions); protected setup(): void; handle(interaction: ContextMenuCommandInteraction): Promise; emitError(err: Error, interaction: ContextMenuCommandInteraction, command: ContextMenuCommand): void; } type Events = ContextMenuCommandHandlerEvents; export interface ContextMenuCommandHandler extends AkairoHandler { on(event: K, listener: (...args: Events[K]) => Awaitable): this; once(event: K, listener: (...args: Events[K]) => Awaitable): this; } export type ContextMenuCommandHandlerOptions = AkairoHandlerOptions; export {}; //# sourceMappingURL=ContextMenuCommandHandler.d.ts.map