///
declare class Operation {
id: String;
name: String;
status: String;
createdAt: String;
output: any;
constructor(data?: any);
private checkValid;
private getFiles;
private getFirstFile;
/**
* Download the generated file
* @returns Buffer data
*/
download(): Promise;
/**
* Save the generated file in the specified path
* @param path Path to save download file
*/
save(path: String): Promise;
private getPromisePerFile;
/**
* Download all generated files
* @returns Buffer data
*/
downloadAll(): Promise>;
/**
* Download all generated files in the specified path
* @param path Folder to save generated files
* @returns Buffer data
*/
saveAll(path: String): Promise;
}
export default Operation;