import { Client } from './Client'; import { PluginConstructor } from '../types/PluginConstructor'; /** * Loads plugins and holds loaded plugins in case accessing * loaded plugins at runtime is desired * @param {Client} client * @param {Array} plugins */ export declare class PluginLoader { private logger; private _client; private _plugins; loaded: { [name: string]: any; }; constructor(client: Client, plugins: (PluginConstructor | string)[]); /** * Loads the plugins passed in the YAMDBF Client options. * Called internally by the YAMDBF Client at startup * @private */ _loadPlugins(): Promise; }