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 | declare type SupportedPlugin = 'npm' | 'chrome' | 'conventional-commits' | 'released';
|
9 | export default function loadPlugin([pluginPath, options]: [SupportedPlugin | string, any], logger: ILogger): IPlugin | undefined;
|
10 | export {};
|