import { GlobalCommand } from "../slash/index.js"; export type NonEmptyArray = T[] & { 0: T; }; export type Awaitable = T | PromiseLike; export type valueOf = T[keyof T]; export type ResolvesTo = T | (() => Awaitable); export type BaseCommand = { command: { name: string; description?: string; }; guild_ids?: string[] | GlobalCommand; }; /** commandName **must equal to** it's value .command.name */ export type commandsDict = { [commandName: string]: T; }; export interface Module { name: string; description?: string; commands: commandsDict; } //# sourceMappingURL=types.d.ts.map