1 | import { ExternalModules } from './types';
|
2 | export declare function copyFromTo({pattern, rootDir, toDir, excludes}: {
|
3 | pattern: string;
|
4 | rootDir: string;
|
5 | toDir: string;
|
6 | excludes?: string[];
|
7 | }): Promise<string[]>;
|
8 | export declare function readFile(filePath: string, encoding?: string): string;
|
9 | export declare function writeFile(filePath: string, content: string, encoding?: string): void;
|
10 | export declare function isDirectory(validPath: string): boolean;
|
11 | export declare function isFile(validPath: string): boolean;
|
12 | export declare function isString(value: any): value is string;
|
13 | export declare function isNil(value: any): value is null | undefined;
|
14 | export declare function isEmpty(value: any): boolean;
|
15 | export declare function isArray(variable: any): variable is any[];
|
16 | export declare function ensureMakeDir(validPath: string): void;
|
17 | export declare function ensureRemoveDir(validPath: string): void;
|
18 | export declare function mergeLevelFromTo(from: any, to: any): any;
|
19 | export declare type uniqueArrayPredicate<T> = (item: T, searchIn: T[]) => boolean;
|
20 | export declare function uniqueArray<T>(unique: T[], second: T[], predicate?: uniqueArrayPredicate<T>): T[];
|
21 | export declare function mergeInto<T, U>(origin: T, dest: U): T & U;
|
22 | export declare function removeComments(input: string): string;
|
23 | export declare function isAngularLib(externals: ExternalModules): boolean;
|
24 | export declare function isOfType<T>(_value: any, check: (value: any) => boolean): _value is T;
|