import { BaseManager } from './index.js'; import { Event } from '../structures/index.js'; import { Collection } from 'discord.js'; import type { ShewenyClient } from '../client/Client.js'; import type { EventsManagerOptions, EventsManagerDefaultOptions } from '../typescript/index.js'; /** * Manager for Events */ export declare class EventsManager extends BaseManager { /** * Default data for the events * @type {EventsManagerDefaultOptions} */ default: EventsManagerDefaultOptions; /** * Collection of the events * @type {Collection | undefined} */ events?: Collection; /** * Constructor to manage events * @param {ShewenyClient} [client] Client framework * @param {EventsManagerOptions} [options] The options of the event manager */ constructor(client: ShewenyClient, options: EventsManagerOptions); /** * Load all events in collection * @returns {Promise | undefined>} The events to load */ loadAll(): Promise | undefined>; /** * Emit all events in collection * @param {Collection | undefined} [events] Events collection that will be emit * @returns {Promise} */ registerAll(events: Collection): Promise; /** * Unload all events * @returns {void} */ unloadAll(): void; }