import type { Interaction } from 'discord.js'; import type { KythiaContainer } from './KythiaContainer'; import type { KythiaCommandModule } from './AddonManager'; export interface KythiaMiddleware { name: string; priority?: number; execute: (interaction: Interaction, command: KythiaCommandModule, container: KythiaContainer) => Promise; } export interface IMiddlewareManager { middlewares: KythiaMiddleware[]; loadMiddlewares(): Promise; handle(interaction: Interaction, command: KythiaCommandModule): Promise; } //# sourceMappingURL=MiddlewareManager.d.ts.map