import { ChatInputCommandInteraction, RESTPostAPIApplicationCommandsJSONBody } from "discord.js"; import { Awaitable, Module } from "../base/index.js"; export declare const GlobalCommand = "Global"; export type GlobalCommand = typeof GlobalCommand; /** This interface represent a single slash command */ export interface CocoaSlash { command: RESTPostAPIApplicationCommandsJSONBody; func: (interaction: ChatInputCommandInteraction) => Promise; guild_ids?: string[] | GlobalCommand; long_description?: string; } export interface SlashModule extends Module { /** This hook should only be handled internally */ presync?: () => Awaitable; } //# sourceMappingURL=types.d.ts.map