import { ApplicationCommandType, AutocompleteInteraction, Client, CommandInteraction, InteractionContextType, type ChatInputApplicationCommandData, type MessageApplicationCommandData, type UserApplicationCommandData } from "discord.js"; import { BaseManager } from "../manager.js"; import type { Command, CommandType } from "./command.js"; type Runner = Function | null | undefined; type BuildedCommandData = (UserApplicationCommandData | MessageApplicationCommandData | ChatInputApplicationCommandData) & { global?: boolean; }; export declare class CommandManager extends BaseManager { private get config(); private readonly collection; readonly runners: Map; readonly autocompleteRunners: Map; set(command: Command): void; getAutocompleteHandler(...path: (string | null)[]): Runner; getTitle(type?: CommandType): string[]; build(): BuildedCommandData[]; private buildOptions; private buildModules; getHandler(type: ApplicationCommandType, ...path: (string | null)[]): Runner[] | undefined; onAutocomplete(interaction: AutocompleteInteraction): Promise; onCommand(interaction: CommandInteraction): Promise; register(client: Client): Promise; } export {};