1 | declare namespace copyfiles {
|
2 | interface Options {
|
3 |
|
4 | all?: boolean | undefined;
|
5 |
|
6 | error?: boolean | undefined;
|
7 |
|
8 | exclude?: string | readonly string[] | undefined;
|
9 |
|
10 | flat?: boolean | undefined;
|
11 | |
12 |
|
13 |
|
14 |
|
15 | follow?: boolean | undefined;
|
16 |
|
17 | soft?: boolean | undefined;
|
18 | |
19 |
|
20 |
|
21 |
|
22 | up?: number | true | undefined;
|
23 |
|
24 | verbose?: boolean | undefined;
|
25 | }
|
26 |
|
27 | type Callback = (error?: Error) => void;
|
28 | }
|
29 |
|
30 | declare function copyfiles(paths: string[], options: copyfiles.Options | number, callback: copyfiles.Callback): void;
|
31 | declare function copyfiles(paths: string[], callback: copyfiles.Callback): void;
|
32 |
|
33 | export = copyfiles;
|