1 | import Auto from '../auto';
|
2 | import { ILogger } from './logger';
|
3 | export declare type IPluginConstructor = new (options?: any) => IPlugin;
|
4 | export interface IPlugin {
|
5 | name: string;
|
6 | apply(auto: Auto): void;
|
7 | }
|
8 | export default function loadPlugin([pluginPath, options]: [string, any], logger: ILogger): IPlugin | undefined;
|