import { AkitaNeru } from '../framework'; import { BaseCommand, InteractionCommand, MessageCommand } from '../../structures/command'; import { BaseManager } from '../../structures/manager'; import { CommandType } from './enums'; import { ConfigManager } from '../../managers/config'; import { ICommandParse } from './interfaces'; /** * Class for managing commands set up by the user */ export declare class CommandManager extends BaseManager { /** * Config manager used by the framework */ config: ConfigManager; interactions: Map; messages: Map; protected files: BaseCommand[]; protected framework: AkitaNeru; /** * Creates a command manager */ constructor(akita: AkitaNeru); init(): Promise; refresh(): Promise; parseMessage(content: string): ICommandParse | undefined; find(name: string, type: CommandType): MessageCommand | InteractionCommand | undefined; setInteractions(): Promise; private get commandsDirectory(); private fetchBuiltInCommands; private fetchUserCommands; }