1 | import { ICommand } from './command';
|
2 | import { IConfig } from './config';
|
3 | import { IPJSON } from './pjson';
|
4 | import { IPluginModule } from './plugin';
|
5 | export interface IHooks {
|
6 | init: {};
|
7 | update: {};
|
8 | 'plugins:parse': {
|
9 | module: IPluginModule;
|
10 | pjson: IPJSON;
|
11 | };
|
12 | prerun: {
|
13 | Command: ICommand;
|
14 | argv: string[];
|
15 | };
|
16 | }
|
17 | export declare type Hook<T extends {}> = (options: T & {
|
18 | config: IConfig;
|
19 | }) => Promise<void>;
|