UNPKG

533 BTypeScriptView Raw
1import * as cp from 'child_process';
2export declare var shell: (path: string, args: string[], opt?: cp.SpawnOptions, verbase?: boolean) => Promise<number>;
3export declare class CliException extends Error {
4 errorId: any;
5 message: any;
6 constructor(errorId: any, param?: string);
7}
8export declare function findValidatePathSync(pathStr: string): string;
9export declare function checkEgret(): void;
10export declare function clean(path: string): void;
11export declare function minify(targetPath: string, savePath: string): void;