///
import { GenericOutput } from "./Output";
declare class Operation {
id: String;
name: String;
status: String;
createdAt: String;
output: GenericOutput;
constructor(data?: any);
private checkValid;
/**
* 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;
/**
* 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;