import type { Awaitable, Message } from "discord.js"; import type { InhibitorHandlerEvents } from "../../typings/events.js"; import type { AkairoMessage } from "../../util/AkairoMessage.js"; import type { AkairoClient } from "../AkairoClient.js"; import { AkairoHandler, type AkairoHandlerOptions } from "../AkairoHandler.js"; import type { Command } from "../commands/Command.js"; import { Inhibitor } from "./Inhibitor.js"; export declare class InhibitorHandler extends AkairoHandler { constructor(client: AkairoClient, options: InhibitorHandlerOptions); test(type: "all" | "pre" | "post", message: Message | AkairoMessage, command?: Command): Promise; } type Events = InhibitorHandlerEvents; export interface InhibitorHandler extends AkairoHandler { on(event: K, listener: (...args: Events[K]) => Awaitable): this; once(event: K, listener: (...args: Events[K]) => Awaitable): this; } export type InhibitorHandlerOptions = AkairoHandlerOptions; export {}; //# sourceMappingURL=InhibitorHandler.d.ts.map