import program from 'commander'; import { PkgConf } from './lib/config'; export declare class App { /** * program */ protected readonly program: program.CommanderStatic; /** * user configurations */ protected conf: PkgConf; /** * plugin's name */ protected plugins: any[]; constructor(); /** * is plugin folder */ private isPluginFolder; /** * add plugin * @param pluginName plugin name * @param cwd plugin cwd */ private addPlugin; /** * load local plugins defined by user * @param dir dir for local plugins */ private loadPluginsByDir; /** * load ./plugins */ private loadUserLocalPlugins; /** * loading plugins which install it as a dependence in package.json */ private loadPlugins; private loadGlobalPlugins; /** * install plugins the order is: * - user local plugins * - system local plugins * - plugins */ install(): Promise; /** * run a plugin immediately * @param plugin local plugin for debug * - ./path/to/plugin-entry * - /path/to/plugin-entry * - merry-plugin-awesome-plugin * @param options */ private debug; /** * install plugins and run */ run(): Promise; } declare const _default: App; export default _default;