///
import fs from 'fs';
export declare const copyFileAsync: typeof fs.copyFile.__promisify__;
export declare const writeFileAsync: typeof fs.writeFile.__promisify__;
export declare const readFileAsync: typeof fs.readFile.__promisify__;
export declare const mkdirpAsync: (arg1: string) => Promise;
export declare function runCommand(cmd: string): Promise<{}>;
export declare function writeScript(pkg: {
scripts: any;
}, key: string, script: string): void;
export declare function toolsPath(filePath: string): string;
export declare function runPath(filePath: string): string;
export declare function rootPath(filePath: string): string;
declare type ConfigShape = {
typescript?: string[];
webpack?: string[];
static?: string[];
paths?: {
build: string;
static: string;
};
};
declare type Paths = {
paths: {
build: string;
static: string;
};
};
export declare function readConfigSync(): ConfigShape & Paths;
export declare function evalJs(path: string): any;
export {};