UNPKG

@leafer/plugin

Version:
11 lines (8 loc) 291 B
import { IObject, IPlugin, ILeaferBase } from '@leafer/interface'; declare const PluginManager: { power: IObject; list: IPlugin[]; onLeafer(leafer: ILeaferBase): void; }; declare function usePlugin(plugin: IPlugin, config?: IObject): void; export { PluginManager, usePlugin };