1 |
|
2 | import * as ChildProcess from 'child_process';
|
3 | import { EventEmitter } from 'events';
|
4 | declare function cwd(): string;
|
5 | declare function isChildProcessOf(file: any, argv: any, offset?: any): any;
|
6 | declare function exec(file: string, argv?: string[], options?: any): string;
|
7 | declare function inspect(str: string, argv?: string[]): ChildProcess.SpawnSyncReturns<string>;
|
8 | declare function exists(path: any, type?: any): boolean;
|
9 | declare function scopeEnv(fn: any, env: any): any;
|
10 | declare function filterMatches(arr: any, pattern: any): any;
|
11 | declare function merge(destination: any, source: any): any;
|
12 | declare function extend(destination: any, ...sources: any[]): any;
|
13 | declare function contract(destination: any, keys: any): any;
|
14 | declare function pluck(obj: any, keys: any): any;
|
15 | declare function pad(str: any, length: any, char?: any): string;
|
16 | declare function padRight(str: any, length: any, char?: any): string;
|
17 | declare function toKebabCase(str: any): any;
|
18 | declare function toStartCase(str: any): any;
|
19 | declare function lowerFirst(str: any): any;
|
20 | declare function upperFirst(str: any): any;
|
21 | declare function splitWords(str: any): any;
|
22 | declare function delegateProperties(destination: any, source: any, modifiers: any): any;
|
23 | declare function isEqual(objA: any, objB: any): any;
|
24 | declare function escapeBrackets(str: any): any;
|
25 | declare function shCmd(cmd: any): any;
|
26 | declare function naturalSort(as: any, bs: any): any;
|
27 | declare function setTempCwd(callback: any, tempCwd: any): any;
|
28 | export declare const freeText: (text: any) => any;
|
29 | declare function log(...args: any[]): void;
|
30 | declare function debug(...args: any[]): void;
|
31 | export declare const Utils: EventEmitter & {
|
32 | cwd: typeof cwd;
|
33 | exec: typeof exec;
|
34 | inspect: typeof inspect;
|
35 | git: any;
|
36 | npm: any;
|
37 | childProcessOf: typeof isChildProcessOf;
|
38 | exists: typeof exists;
|
39 | scopeEnv: typeof scopeEnv;
|
40 | filterMatches: typeof filterMatches;
|
41 | merge: typeof merge;
|
42 | extend: typeof extend;
|
43 | contract: typeof contract;
|
44 | pluck: typeof pluck;
|
45 | pad: typeof pad;
|
46 | padRight: typeof padRight;
|
47 | kebabCase: typeof toKebabCase;
|
48 | startCase: typeof toStartCase;
|
49 | lowerFirst: typeof lowerFirst;
|
50 | upperFirst: typeof upperFirst;
|
51 | words: typeof splitWords;
|
52 | delegateProperties: typeof delegateProperties;
|
53 | isEqual: typeof isEqual;
|
54 | escapeBrackets: typeof escapeBrackets;
|
55 | shCmd: typeof shCmd;
|
56 | naturalSort: typeof naturalSort;
|
57 | tempCwd: typeof setTempCwd;
|
58 | freeText: (text: any) => any;
|
59 | log: typeof log;
|
60 | debug: typeof debug;
|
61 | };
|
62 | export {};
|