/// import { readFile, writeFile, stat } from 'fs'; import { execFile } from 'child_process'; declare const rimrafAsync: (arg1: string) => Promise; export declare const STDIN_FLAG = "[stdin]"; export declare function each(list: T[] | Promise, action: (item: T, index: number, list: T[]) => Promise): Promise; export declare function wrap(code: string): string; declare function padRight(str: string, l: number): string; declare const bound: MethodDecorator; declare function dequote(input: string): string; export interface ReadFileAsync { (path: string): Promise; (path: string, encoding: string): Promise; } declare const readFileAsync: typeof readFile.__promisify__; declare const writeFileAsync: typeof writeFile.__promisify__; declare const statAsync: typeof stat.__promisify__; declare const execFileAsync: typeof execFile.__promisify__; declare const isWindows: boolean; declare function pathExistsAsync(path: string): Promise; declare function isDirectoryAsync(path: string): Promise; /** * @param version See if this version is greather than the second one * @param operand Version to compare against */ declare function semverGt(version: string, operand: string): boolean; export { dequote, padRight, semverGt, bound, isWindows, rimrafAsync, statAsync, execFileAsync, readFileAsync, pathExistsAsync, isDirectoryAsync, writeFileAsync, };