1 | import { IAction, IActionConstructor, TemplateFormat } from "./actions/base";
|
2 | import { IWebpackStats } from "./interfaces/webpack-stats";
|
3 | interface IActions {
|
4 | [key: string]: (opts: IActionConstructor) => IAction;
|
5 | }
|
6 | export declare const ACTIONS: IActions;
|
7 | export interface IRenderOptions extends IActionConstructor {
|
8 | action: "duplicates" | "sizes" | "versions";
|
9 | format: TemplateFormat;
|
10 | stats: IWebpackStats;
|
11 | ignoredPackages: (string | RegExp)[];
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | export declare const actions: (name: string, opts: IActionConstructor) => Promise<IAction>;
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | export declare const render: ({ action, format, stats, ignoredPackages }: IRenderOptions) => Promise<string>;
|
32 | export {};
|