import type { CommandData } from "../../types/config.ts";
import { createHandlerSetup } from "./index.ts";
import type { CommandAutocompleteInteraction, CommandInteraction } from "../../types/interaction.ts";
/**
 * Installs commands to the Discord API
 */
export declare function installCommands(commands: CommandData[]): Promise<void>;
/**
 * Creates the command handler
 * @returns A function that runs a command
 */
export declare const setupCommands: ReturnType<typeof createHandlerSetup<CommandData, CommandInteraction | CommandAutocompleteInteraction>>;
