import { PluginConfigCreator, LowCodePlugin, PluginManagerSpec } from 'vitis-lowcode-types';
import type InnerPlugins from '../plugins';
export default class PluginManager implements PluginManagerSpec {
    private readonly plugins;
    constructor(plugins: InnerPlugins);
    /**
     * 注册插件
     * @param pluginConfigCreator
     * @param options
     */
    register(pluginConfigCreator: PluginConfigCreator, options?: any): Promise<void>;
    /**
     * 删除插件
     * @param pluginName
     */
    delete(pluginName: string): Promise<boolean>;
    /**
     * 是否已经注册了插件
     * @param pluginName
     */
    has(pluginName: string): boolean;
    /**
     * 获取插件
     * @param pluginName
     */
    get(pluginName: string): LowCodePlugin | undefined;
    /**
     * 获取全部插件
     */
    getAll(): Map<string, LowCodePlugin>;
}
