UNPKG

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