You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
533 B

4 months ago
import type { BasePlugin } from '../plugins/base-plugin';
import { ExtensionController } from '../registry/extension';
import type { CustomPluginOption, PluginOptions } from '../spec/plugin';
import type { RuntimeContext } from './types';
export declare class PluginController extends ExtensionController<BasePlugin<CustomPluginOption>> {
category: "plugin";
constructor(context: RuntimeContext);
setPlugins(plugins: PluginOptions): void;
getPluginInstance(key: string): BasePlugin<CustomPluginOption> | undefined;
}