import { Client as BaseClient, Collection, ApplicationCommand, Guild, GuildResolvable } from 'discord.js'; import { ClientOptions } from '../types'; import BaseCommand from './base/BaseCommand'; import BaseEvent from './base/BaseEvent'; import Utils from '../utils'; import Handler from './Handler'; import Resolve from './Resolve'; import Messages from './Messages'; declare class Client extends BaseClient { data: { [key: string]: any; owners: Array; }; debug: boolean; utils: typeof Utils; log: { info: (text: any, str?: string) => void; success: (text: any, str?: string) => void; warn: (text: any, str?: string) => void; error: (text: any, str?: string) => void; debug: (text: any, str?: string) => void; }; events: Collection; commands: Collection; applicationCommands: Collection>>; textCommandHandler: Handler; applicationCommandHandler: Handler; resolve: Resolve; messages: Messages; constructor(options: ClientOptions); /** Registers a command from file path. */ registerCommand(dir: string, category: string): Promise; /** Registers commands from directory path */ registerCommands(dir: string): Promise>; /** Registers application commands from Client#commands globally or for a guild if it is specified. */ registerApplicationCommands(guild?: Guild): Promise>>; /** Unregisters application commands globally or for a guild if it is specified. */ unregisterApplicationCommands(guild?: Guild): Promise>>; /** Regsiters events from directory path */ registerEvents(dir: string, target?: any): Promise; /** Initiates the Client. Necessary for basic functions (function added in JagCmdHandler) to work.*/ init(): Promise; } export default Client;