import { Collection, Embed, CommandInteraction } from 'discord.js'; import Client from '../classes/Client'; import Middleware from '../classes/base/Middleware'; declare const _default: { new (client: Client): { client: Client; cooldowns: Collection>; checks: Middleware; /** Extend this function to return the language you want to use for error embeds. */ getLanguage(client: Client, interaction: CommandInteraction): Promise; /** Extend this function to customize error embeds.. */ getErrorEmbed(msg: string, large?: boolean, language?: string): Embed; /** This is the function which handles the interactions. */ handle(client: Client, interaction: CommandInteraction, next: () => void, defaultChecks?: boolean): Promise; }; }; export = _default;