import { ICommand } from './command'; import { IConfig } from './config'; import { IPluginPJSON } from './pjson'; import { IPluginModule } from './plugin'; export interface IHooks { init: {}; update: {}; 'plugins:parse': { module: IPluginModule; pjson: IPluginPJSON; }; prerun: { Command: ICommand; argv: string[]; }; } export declare type Hook = (options: T & { config: IConfig; }) => Promise;