import { ICommand } from './command'; import { IConfig } from './config'; import { IPlugin } from './plugin'; export interface Hooks { init: { id: string; }; update: {}; 'command_not_found': { id: string; }; 'plugins:parse': { pjson: IPlugin; }; prerun: { Command: ICommand; argv: string[]; }; } export declare type IHook = (options: T & { config: IConfig; }) => any;