import type { NewsChannel, TextChannel } from 'discord.js'; import { Command, Event } from './classes'; export declare type Constructor = new (...args: any[]) => T; export declare type MaybeCommand = Constructor | { default: Constructor; } | { [k: string]: Constructor; }; export declare type MaybeEvent = Constructor | { default: Constructor; } | { [k: string]: Constructor; }; export declare type TextChannelLike = TextChannel | NewsChannel; export declare type MaybePromise = Promise | T;