export declare function compressDirJs(fromDir: string, toDir: string, callback: Function, logFunc?: (msg: string) => void, es6Toes5?: boolean): void; export declare function compressJs(fromPath: string, toPath: string, callback: Function, es6Toes5?: boolean): void; export declare function compressJsAsync(fromPath: string, toPath: string, es6Toes5?: boolean): Promise<{}>;